Skip to content

Commit

Permalink
Fix SQL syntax.
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Feb 24, 2014
1 parent 778e4ee commit e9e434d
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -4,7 +4,7 @@ class HordeActiveSyncRemoveSyncCounters extends Horde_Db_Migration_Base
public function up()
{
$this->announce('Removing SyncKeyCounter data from cache.', 'cli.message');
$sql = 'SELECT * FROM horde_activesync_cache;';
$sql = 'SELECT * FROM horde_activesync_cache';
$rows = $this->_connection->selectAll($sql);
$insert_sql = 'UPDATE horde_activesync_cache SET cache_data = ? WHERE cache_devid = ? AND cache_user = ?';
foreach ($rows as $row) {
Expand Down

0 comments on commit e9e434d

Please sign in to comment.