From: Robin McCorkell Date: Sun, 19 Apr 2015 11:38:29 +0000 (+0100) Subject: Merge pull request #15729 from owncloud/remove-unused-variables X-Git-Tag: v8.1.0alpha2~34 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=80b892e7ed7b2d6b5220840e1bb3b11115c72cb4;p=nextcloud-server.git Merge pull request #15729 from owncloud/remove-unused-variables Remove unused variables --- 80b892e7ed7b2d6b5220840e1bb3b11115c72cb4 diff --cc lib/private/tags.php index 84ee5c98dfd,dc5740603ca..6edd7b2f980 --- a/lib/private/tags.php +++ b/lib/private/tags.php @@@ -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; } }