We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f811a3 commit 362cd05Copy full SHA for 362cd05
scripts/translation/libqa/SyncFileList.php
@@ -44,7 +44,7 @@ static function load()
44
require_once __DIR__ . '/../lib/all.php';
45
46
$files = new RevcheckFileList( $sourceDir );
47
- $syncFileItems = [];
+ $ret = [];
48
49
foreach( $files->iterator() as $file )
50
{
@@ -58,7 +58,7 @@ static function load()
58
$ret[] = $item;
59
}
60
61
- if ( $syncFileItems === [] )
+ if ( $ret === [] )
62
throw new Exception( "No files found. Called from wrong directory?" );
63
64
$contents = gzencode( serialize( $ret ) );
0 commit comments