function tsitemapUninstall($self) { turlmap::unsub($self); tcron::i()->deleteclass($self); $meta = tmetawidget::i(); $meta->delete('sitemap'); }
function tcommontagsUninstall($self) { tposts::unsub($self); turlmap::unsub($self); $widgets = twidgets::i(); $widgets->deleteclass(get_class($self)); }
public function processform() { litepublisher::$options->dateformat = $_POST['dateformat']; litepublisher::$options->language = $_POST['language']; if (litepublisher::$options->timezone != $_POST['timezone']) { litepublisher::$options->timezone = $_POST['timezone']; $archives = tarchives::i(); turlmap::unsub($archives); $archives->PostsChanged(); } $merger = tlocalmerger::i(); $merger->lock(); //$merger->items = array(); //$merger->install(); foreach (array_keys($merger->items) as $name) { $keys = array_keys($merger->items[$name]['texts']); $merger->setfiles($name, $_POST[$name . '_files']); foreach ($keys as $key) { $merger->addtext($name, $key, $_POST[$name . '_text_' . $key]); } } $merger->html = explode("\n", trim($_POST['adminhtml_files'])); foreach ($merger->html as $i => $filename) { $merger->html[$i] = trim($filename); } $merger->unlock(); }
function tlinkswidgetUninstall($self) { if (get_class($self) != 'tlinkswidget') { return; } turlmap::unsub($self); }
function uloginUninstall($self) { tusers::i()->unbind('tregserviceuser'); turlmap::unsub($self); $man = tdbmanager::i(); $man->deletetable($self->table); if ($man->column_exists('users', 'phone')) { $man->alter('users', "drop phone"); } $alogin = tadminlogin::i(); $alogin->widget = $self->deletepanel($alogin->widget); $alogin->save(); $areg = tadminreguser::i(); $areg->widget = $self->deletepanel($areg->widget); $areg->save(); $tc = ttemplatecomments::i(); $tc->regaccount = $self->deletepanel($tc->regaccount); $tc->save(); $js = tjsmerger::i(); $js->lock(); $js->deletefile('default', '/plugins/ulogin/resource/ulogin.popup.min.js'); $js->deletefile('default', '/plugins/ulogin/resource/' . litepublisher::$options->language . '.ulogin.popup.min.js'); $js->unlock(); tcssmerger::i()->deletefile('default', '/plugins/ulogin/resource/ulogin.popup.css'); tjsonserver::i()->unbind($self); litepublisher::$classes->delete('emailauth'); }
function trssMultimediaUninstall($self) { turlmap::unsub($self); $files = tfiles::i(); $files->unbind($self); $meta = tmetawidget::i(); $meta->delete('media'); }
function tkeywordspluginUninstall($self) { turlmap::unsub($self); $widgets = twidgets::i(); $widgets->deleteclass('tkeywordswidget'); litepublisher::$classes->delete('tkeywordswidget'); //TFiler::DeleteFiles(litepublisher::$paths->data . 'keywords' . DIRECTORY_SEPARATOR , true); }
function tprofileUninstall($self) { turlmap::unsub($self); $sitemap = tsitemap::i(); $sitemap->delete('/profile.htm'); $template = ttemplate::i(); $template->deletefromhead(' <link rel="author profile" title="Profile" href="$site.url/profile.htm" />'); }
public function uninstall() { turlmap::unsub($this); $template = ttemplate::i(); $template->deletefromhead($this->get_head()); $merger = tlocalmerger::i(); $merger->deleteplugin(tplugins::getname(__FILE__)); litepublisher::$urlmap->clearcache(); }
function trssUninstall($self) { turlmap::unsub($self); tcomments::i()->unbind($self); $meta = tmetawidget::i(); $meta->lock(); $meta->delete('rss'); $meta->delete('comments'); $meta->unlock(); }
function thomepageUninstall($self) { turlmap::unsub($self); tposts::unsub($self); $menus = tmenus::i(); $menus->lock(); unset($menus->items[$menus->idhome]); $menus->sort(); $menus->unlock(); }
function texternallinksUninstall($self) { $filter = tcontentfilter::i(); $filter->unbind($self); $cron = tcron::i(); $cron->deleteclass(get_class($self)); turlmap::unsub($self); if (dbversion) { $manager = tdbmanager::i(); $manager->deletetable($self->table); } tposts::i()->addrevision(); }
function tregservicesUninstall($self) { $name = basename(dirname(__FILE__)); tcommentform::i()->unbind($self); turlmap::unsub($self); foreach ($self->items as $id => $classname) { litepublisher::$classes->delete($classname); } litepublisher::$classes->delete('tregserviceuser'); litepublisher::$classes->delete('toauth'); tfiler::delete(litepublisher::$paths->data . 'regservices', true, true); tusers::i()->unbind('tregserviceuser'); tdbmanager::i()->deletetable('regservices'); $css = tcssmerger::i(); $css->deletestyle("/plugins/{$name}/regservices.min.css"); }
function tfoafUninstall($self) { $merger = tlocalmerger::i(); $merger->deleteplugin(tplugins::getname(__FILE__)); $actions = TXMLRPCAction::i(); $actions->deleteclass(get_class($self)); $urlmap = litepublisher::$urlmap; $urlmap->lock(); turlmap::unsub($self); $classes = litepublisher::$classes; $classes->lock(); $classes->delete('tfoafutil'); $classes->delete('tprofile'); $classes->delete('tfriendswidget'); $classes->delete('tadminfoaf'); $classes->unlock(); $admin = tadminmenus::i(); $admin->lock(); $admin->deleteurl('/admin/foaf/profiletemplate/'); $admin->deleteurl('/admin/foaf/profile/'); $admin->deleteurl('/admin/foaf/'); $admin->unlock(); $urlmap->unlock(); if ($self->dbversion) { $manager = tdbmanager::i(); $manager->deletetable($self->table); } $template = ttemplate::i(); $template->deletefromhead(' <link rel="meta" type="application/rdf+xml" title="FOAF" href="$site.url/foaf.xml" />'); $meta = tmetawidget::i(); $meta->lock(); $meta->delete('foaf'); $meta->delete('profile'); $meta->unlock(); ttheme::clearcache(); }
function tadminpasswordUninstall($self) { turlmap::unsub($self); }
function tcommentformUninstall($self) { turlmap::unsub($self); }
function twidgetscacheUninstall($self) { turlmap::unsub($self); }
function tadminreguserUninstall($self) { turlmap::unsub($self); }
function tadminsubscribersUninstall($self) { turlmap::unsub($self); }
function tmanifestUninstall($self) { turlmap::unsub($self); }
function tadminloginUninstall($self) { turlmap::unsub($self); }
function tajaxposteditorUninstall($self) { turlmap::unsub($self); }
function trssholdcommentsUninstall($self) { turlmap::unsub($self); tcomments::i()->unbind($self); }
function tjsonserverUninstall($self) { turlmap::unsub($self); }
function tdownloadcounterUninstall($self) { turlmap::unsub($self); $files = tfiles::i(); $files->unbind($self); }
public function uninstall() { turlmap::unsub($this); }
function tadminboardUninstall($self) { turlmap::unsub($self); }
function TXMLRPCUninstall($self) { turlmap::unsub($self); }
function tcommentmanagerUninstall($self) { turlmap::unsub($self); }
function tfriendswidgetUninstall($self) { turlmap::unsub($self); litepublisher::$classes->delete('tadminfriendswidget'); }