From 3eb0b4be2a7e0f4d8f9a518114e1daa49f46b59b Mon Sep 17 00:00:00 2001 From: Friendika Date: Wed, 29 Jun 2011 22:38:30 -0700 Subject: now that we have admin interface, completely remove register approvals from notifications --- mod/notifications.php | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'mod/notifications.php') diff --git a/mod/notifications.php b/mod/notifications.php index 90f62fa47..c6f073058 100644 --- a/mod/notifications.php +++ b/mod/notifications.php @@ -167,30 +167,6 @@ function notifications_content(&$a) { else info( t('No notifications.') . EOL); -/* - if ($a->config['register_policy'] == REGISTER_APPROVE && - $a->config['admin_email'] === $a->user['email']){ - $o .= '

' . t('User registrations waiting for confirm') . '

' . "\r\n"; - - $r = q("SELECT `register`.*, `contact`.`name`, `user`.`email` - FROM `register` - LEFT JOIN `contact` ON `register`.`uid` = `contact`.`uid` - LEFT JOIN `user` ON `register`.`uid` = `user`.`uid`;"); - if(($r !== false) && (count($r))) { - $o .= '"; - } - else - info( t('No registrations.') . EOL); - - } -*/ - $o .= paginate($a); return $o; } -- cgit v1.2.3