diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-09-14 15:55:52 +0000 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-09-14 15:55:52 +0000 |
commit | ec23e324852b68f24e32f794bcfdc70d749284a4 (patch) | |
tree | 19199edbf3ac27679d3f3d35265c2ebebb5ab24e /series/trunk/includes | |
parent | 338308e2bd8ca78337c11a2806f272eae748fb52 (diff) | |
download | instadisc-ec23e324852b68f24e32f794bcfdc70d749284a4.tar.gz instadisc-ec23e324852b68f24e32f794bcfdc70d749284a4.tar.bz2 instadisc-ec23e324852b68f24e32f794bcfdc70d749284a4.zip |
Series: [15]
Refs #53
Diffstat (limited to 'series/trunk/includes')
-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 | ?> |