Skip to content

Commit 362cd05

Browse files
author
André L F S Bacci
committed
Revert variable partial rename
1 parent 8f811a3 commit 362cd05

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/translation/libqa/SyncFileList.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ static function load()
4444
require_once __DIR__ . '/../lib/all.php';
4545

4646
$files = new RevcheckFileList( $sourceDir );
47-
$syncFileItems = [];
47+
$ret = [];
4848

4949
foreach( $files->iterator() as $file )
5050
{
@@ -58,7 +58,7 @@ static function load()
5858
$ret[] = $item;
5959
}
6060

61-
if ( $syncFileItems === [] )
61+
if ( $ret === [] )
6262
throw new Exception( "No files found. Called from wrong directory?" );
6363

6464
$contents = gzencode( serialize( $ret ) );

0 commit comments

Comments
 (0)