cvs: pearweb /public_html admin.php
| From: | Martin Jansen | Date: | Sun, 07 Oct 2001 14:14:08 +0000 |
| Subject: | cvs: pearweb /public_html admin.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-947@lists.php.net to get a copy of this message | ||
mj Sun Oct 7 10:14:08 2001 EDT
Modified files:
/pearweb/public_html admin.php
Log:
* use the right function names
Index: pearweb/public_html/admin.php
diff -u pearweb/public_html/admin.php:1.2 pearweb/public_html/admin.php:1.3
--- pearweb/public_html/admin.php:1.2 Wed Oct 3 08:56:11 2001
+++ pearweb/public_html/admin.php Sun Oct 7 10:14:07 2001
@@ -33,8 +33,8 @@
elseif (@$cmd == "Open Account" && !empty($uid)) {
// another hack to remove the temporary "purpose" field
// from the user's "userinfo"
- if (user_activate($uid)) {
- print "<p>Opened account $uid...</p>\n";
+ if (user::activate($uid)) {
+ print "<p>Opened account $uid...</p>\n";
}
}
@@ -42,8 +42,8 @@
// {{{ reject account request
elseif (@$cmd == "Reject Request" && !empty($uid)) {
- if (user_rejectrequest($uid, $reason)) {
- print "<p>Rejected account request for $uid...</p>\n";
+ if (user::rejectRequest($uid, $reason)) {
+ print "<p>Rejected account request for $uid...</p>\n";
}
}
@@ -51,8 +51,8 @@
// {{{ delete account request
elseif (@$cmd == "Delete Request" && !empty($uid)) {
- if (user_delete($uid)) {
- print "<p>Deleted account request for \"$uid\"...</p>";
+ if (user::delete($uid)) {
+ print "<p>Deleted account request for \"$uid\"...</p>";
}
}