X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FImap%2FImapPlugin.php;h=5711951e264f11157c917909ff40b3da37f761bb;hb=ff004c5912eb71926a39cc64181601b1c4208088;hp=dbaa904c6e5b0efba91fd09f838c0c2606237fdd;hpb=7d64d8c78cfa102b91975598ef9e574d2ef14b8c;p=quix0rs-gnu-social.git diff --git a/plugins/Imap/ImapPlugin.php b/plugins/Imap/ImapPlugin.php index dbaa904c6e..5711951e26 100644 --- a/plugins/Imap/ImapPlugin.php +++ b/plugins/Imap/ImapPlugin.php @@ -71,28 +71,6 @@ class ImapPlugin 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 'ImapManager': - case 'IMAPMailHandler': - include_once $dir . '/'.strtolower($cls).'.php'; - return false; - default: - return true; - } - } - function onStartQueueDaemonIoManagers(&$classes) { $classes[] = new ImapManager($this); @@ -101,7 +79,7 @@ class ImapPlugin extends Plugin function onPluginVersion(&$versions) { $versions[] = array('name' => 'IMAP', - 'version' => STATUSNET_VERSION, + 'version' => GNUSOCIAL_VERSION, 'author' => 'Craig Andrews', 'homepage' => 'http://status.net/wiki/Plugin:IMAP', 'rawdescription' =>