public function uninstall() { parent::uninstall(); //Remove our table data $db = Loader::db(); $db->execute("DROP TABLE pkgNewsletterEmails"); }
public function uninstall() { $paypal = PaymentMethod::getByHandle('paypal_express'); if (is_object($paypal)) { $paypal->delete(); } parent::uninstall(); }
public function uninstall(Package $p) { $p->uninstall(); $config = $this->entityManager->getConfiguration(); $cache = $config->getMetadataCacheImpl(); $cache->flushAll(); }
public function uninstall() { parent::uninstall(); $db = Loader::db(); $db->Execute('DROP TABLE IF EXISTS btLoginDialog'); }
/** * Uninstalls the package. Removes any blocks, themes, or pages associated with the package. */ public function uninstall() { return parent::uninstall(); }
public function uninstall() { parent::uninstall(); $db = \Database::get(); $db->query("drop table TutorialDbTableDemoAttribute"); }