diff options
author | Andreas Gohr <andi@splitbrain.org> | 2012-08-12 18:07:20 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2012-08-12 18:07:20 +0200 |
commit | f036cff4fde59f0265f6123f6faf92cb8ba8bb26 (patch) | |
tree | 7f7ea207393fcd5eec6af50e113c346e8f44fdf9 /inc | |
parent | 02308d17ed15cd633ba1fd5cab11994c42065121 (diff) | |
download | rpg-f036cff4fde59f0265f6123f6faf92cb8ba8bb26.tar.gz rpg-f036cff4fde59f0265f6123f6faf92cb8ba8bb26.tar.bz2 |
minor cleanup
Diffstat (limited to 'inc')
-rw-r--r-- | inc/subscription.php | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/inc/subscription.php b/inc/subscription.php index 800329cb5..74f4e4d03 100644 --- a/inc/subscription.php +++ b/inc/subscription.php @@ -1,24 +1,11 @@ <?php /** - * Utilities for handling (email) subscriptions - * - * The public interface of this file consists of the functions - * - subscription_find - * - subscription_send_digest - * - subscription_send_list - * - subscription_set - * - get_info_subscribed - * - subscription_addresslist - * - subscription_lock - * - subscription_unlock - * - * @fixme handle $conf['subscribers'] and disable actions and $auth == null + * Class for handling (email) subscriptions * * @author Adrian Lang <lang@cosmocode.de> * @author Andreas Gohr <andi@splitbrain.org> * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) */ - class Subscription { /** @@ -511,10 +498,9 @@ class Subscription { * @param array &$data Containing $id (the page id), $self (whether the author * should be notified, $addresslist (current email address * list) - * @return string */ public function notifyaddresses(&$data) { - if(!$this->isenabled()) return false; + if(!$this->isenabled()) return; /** @var auth_basic $auth */ global $auth; |