summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
Diffstat (limited to 'inc')
-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;