summaryrefslogtreecommitdiff
path: root/inc/subscription.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2012-08-12 18:07:20 +0200
committerAndreas Gohr <andi@splitbrain.org>2012-08-12 18:07:20 +0200
commitf036cff4fde59f0265f6123f6faf92cb8ba8bb26 (patch)
tree7f7ea207393fcd5eec6af50e113c346e8f44fdf9 /inc/subscription.php
parent02308d17ed15cd633ba1fd5cab11994c42065121 (diff)
downloadrpg-f036cff4fde59f0265f6123f6faf92cb8ba8bb26.tar.gz
rpg-f036cff4fde59f0265f6123f6faf92cb8ba8bb26.tar.bz2
minor cleanup
Diffstat (limited to 'inc/subscription.php')
-rw-r--r--inc/subscription.php18
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;