public function uninstall() { $this->configuration->uninstall(); foreach (self::getScopes() as $scope) { $tracking = new Dao\LogTable($scope); $tracking->uninstall(); } Cache::clearCacheGeneral(); $this->isInstalled = false; }
public function test_uninstall_shouldInstallColumn_LogVisit_LastIdlinkVa() { $this->logVisit->uninstall(); $columnn = DbHelper::getTableColumns(Common::prefixTable('log_visit')); $this->assertArrayNotHasKey('last_idlink_va', $columnn); }