Remove remaining empty() call in r79119
authorSam Reed <reedy@users.mediawiki.org>
Sun, 27 Mar 2011 01:22:44 +0000 (01:22 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Sun, 27 Mar 2011 01:22:44 +0000 (01:22 +0000)
includes/db/DatabaseMysql.php

index 5e9c27f..25c360d 100644 (file)
@@ -542,7 +542,7 @@ class DatabaseMysql extends DatabaseBase {
                        $vars = get_object_vars($table);
                        $table = array_pop( $vars );
                        
-                       if( empty( $prefix ) || strpos( $table, $prefix ) === 0 ) {
+                       if( !$prefix || strpos( $table, $prefix ) === 0 ) {
                                $endArray[] = $table;
                        }
                }