Remove unused variable.
authorJan Schneider <jan@horde.org>
Thu, 6 Jan 2011 11:28:13 +0000 (12:28 +0100)
committerJan Schneider <jan@horde.org>
Thu, 6 Jan 2011 11:30:13 +0000 (12:30 +0100)
framework/Share/lib/Horde/Share/Sql.php

index 8859f7d..d00297b 100644 (file)
@@ -247,7 +247,6 @@ class Horde_Share_Sql extends Horde_Share_Base
      */
     protected function _getShares(array $ids, $key = 'share_name')
     {
-        $shares = array();
         try {
             $rows = $this->_db->selectAll('SELECT * FROM ' . $this->_table . ' WHERE share_id IN (' . str_repeat('?, ', count($ids) - 1) . '?)', $ids);
         } catch (Horde_Db_Exception $e) {