Remove empty array

git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@991 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
jakubvrana 2009-08-21 16:14:00 +00:00
parent 1ccc5c268c
commit dc05ef6260

View file

@ -14,8 +14,8 @@ foreach (array_merge(
glob(dirname(__FILE__) . "/adminer/*.php"),
glob(dirname(__FILE__) . "/adminer/include/*.php"),
glob(dirname(__FILE__) . "/editor/*.php"),
glob(dirname(__FILE__) . "/editor/include/*.php"),
array()) as $filename) {
glob(dirname(__FILE__) . "/editor/include/*.php")
) as $filename) {
$file = file_get_contents($filename);
if (preg_match_all("~lang\\(('(?:[^\\\\']+|\\\\.)*')([),])~", $file, $matches)) { // lang() always uses apostrophes
$messages_all += array_combine($matches[1], $matches[2]);