diff options
author | Andreas Gohr <andi@splitbrain.org> | 2012-08-12 15:07:03 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2012-08-12 15:07:03 +0200 |
commit | adec979fd5453cf213b776d7dceaaaac4eb05713 (patch) | |
tree | e473c5a2e9627d36605bea573efa0933c55f3f47 /inc/common.php | |
parent | e920a0a10c3027700e61166a6f8d4ea29a9ff102 (diff) | |
download | rpg-adec979fd5453cf213b776d7dceaaaac4eb05713.tar.gz rpg-adec979fd5453cf213b776d7dceaaaac4eb05713.tar.bz2 |
more subscription refactoring BROKEN
now the actual sending of bulk messages (digest, list) is reimplemented
and partially tested.
Still not complete
Diffstat (limited to 'inc/common.php')
-rw-r--r-- | inc/common.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/inc/common.php b/inc/common.php index ac7e744d8..29940d8a6 100644 --- a/inc/common.php +++ b/inc/common.php @@ -107,9 +107,11 @@ function pageinfo() { $info['isadmin'] = false; $info['ismanager'] = false; if(isset($_SERVER['REMOTE_USER'])) { + $sub = new Subscription(); + $info['userinfo'] = $USERINFO; $info['perm'] = auth_quickaclcheck($ID); - $info['subscribed'] = get_info_subscribed(); + $info['subscribed'] = $sub->user_subscription(); $info['client'] = $_SERVER['REMOTE_USER']; if($info['perm'] == AUTH_ADMIN) { |