]> source.dussan.org Git - nextcloud-server.git/commitdiff
Merge pull request #15729 from owncloud/remove-unused-variables
authorRobin McCorkell <rmccorkell@karoshi.org.uk>
Sun, 19 Apr 2015 11:38:29 +0000 (12:38 +0100)
committerRobin McCorkell <rmccorkell@karoshi.org.uk>
Sun, 19 Apr 2015 11:38:29 +0000 (12:38 +0100)
Remove unused variables

1  2 
lib/private/tags.php

index 84ee5c98dfdbc577b6fab083e58c6a9577426079,dc5740603ca0eb2f1ec2f092c55f972170d1edd8..6edd7b2f980bde97e8901e1dc104ff881ede8e43
@@@ -228,12 -228,12 +228,12 @@@ class Tags implements \OCP\ITags 
                                while ($row = $result->fetch()) {
                                        $objId = (int)$row['objid'];
                                        if (!isset($entries[$objId])) {
-                                               $entry = $entries[$objId] = array();
+                                               $entries[$objId] = array();
                                        }
-                                       $entry = $entries[$objId][] = $row['category'];
+                                       $entries[$objId][] = $row['category'];
                                }
                                if (\OCP\DB::isError($result)) {
 -                                      \OCP\Util::writeLog('core', __METHOD__. 'DB error: ' . \OCP\DB::getErrorMessage($result), \OCP\Util::ERROR);
 +                                      \OCP\Util::writeLog('core', __METHOD__. 'DB error: ' . \OCP\DB::getErrorMessage(), \OCP\Util::ERROR);
                                        return false;
                                }
                        }