X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FSearchSub%2FSearchSubPlugin.php;h=ba25bf1b2b52dab9cafdce1208b7b9fe46e391ed;hb=cff8c462da9d17cd06a2eaa282efb041e5c420f1;hp=858474240e9c6c1eed3dff6c103db99331825fad;hpb=8c710ad2c1b80544acccb515f7b601aadff2de16;p=quix0rs-gnu-social.git diff --git a/plugins/SearchSub/SearchSubPlugin.php b/plugins/SearchSub/SearchSubPlugin.php index 858474240e..ba25bf1b2b 100644 --- a/plugins/SearchSub/SearchSubPlugin.php +++ b/plugins/SearchSub/SearchSubPlugin.php @@ -60,39 +60,6 @@ class SearchSubPlugin extends Plugin return true; } - /** - * Load related modules when needed - * - * @param string $cls Name of the class to be loaded - * - * @return boolean hook value; true means continue processing, false means stop. - */ - function onAutoload($cls) - { - $dir = dirname(__FILE__); - - switch ($cls) - { - case 'SearchSub': - include_once $dir.'/'.$cls.'.php'; - return false; - case 'SearchsubAction': - case 'SearchunsubAction': - case 'SearchsubsAction': - case 'SearchSubForm': - case 'SearchSubMenu': - case 'SearchUnsubForm': - case 'SearchSubTrackCommand': - case 'SearchSubTrackOffCommand': - case 'SearchSubTrackingCommand': - case 'SearchSubUntrackCommand': - include_once $dir.'/'.strtolower($cls).'.php'; - return false; - default: - return true; - } - } - /** * Map URLs to actions *