diff options
Diffstat (limited to 'series/trunk')
-rw-r--r-- | series/trunk/includes/instadisc.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/series/trunk/includes/instadisc.php b/series/trunk/includes/instadisc.php index d7010a6..7334b6f 100644 --- a/series/trunk/includes/instadisc.php +++ b/series/trunk/includes/instadisc.php | |||
@@ -110,10 +110,15 @@ function instaDisc_listSubscriptions($username) | |||
110 | return $getsubs3; | 110 | return $getsubs3; |
111 | } | 111 | } |
112 | 112 | ||
113 | function deleteSubscription($id) | 113 | function instaDisc_deleteSubscription($id) |
114 | { | 114 | { |
115 | $delsub = "DELETE FROM subscriptions WHERE id = " . $id; | 115 | $delsub = "DELETE FROM subscriptions WHERE id = " . $id; |
116 | $delsub2 = mysql_query($delsub); | 116 | $delsub2 = mysql_query($delsub); |
117 | } | 117 | } |
118 | 118 | ||
119 | function instaDisc_isAdmin($username) | ||
120 | { | ||
121 | return ($username == instaDisc_getConfig('adminUser')); | ||
122 | } | ||
123 | |||
119 | ?> | 124 | ?> |