/usr/share/php/data/Horde_ActiveSync/migration/17_horde_activesync_clearallstate.php is in php-horde-activesync 2.19.2-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | <?php
/**
* Migration that clears all collection state when moving between version 1 and 2
*/
class HordeActiveSyncClearAllstate extends Horde_Db_Migration_Base
{
public function up()
{
$this->delete('DELETE FROM horde_activesync_state');
$this->delete('DELETE FROM horde_activesync_map');
$this->delete('DELETE FROM horde_activesync_mailmap');
$this->delete('DELETE FROM horde_activesync_cache');
}
public function down()
{
$this->delete('DELETE FROM horde_activesync_state');
$this->delete('DELETE FROM horde_activesync_map');
$this->delete('DELETE FROM horde_activesync_mailmap');
$this->delete('DELETE FROM horde_activesync_cache');
}
}
|