remove unused code

main
msquare 8 years ago
parent f02148af35
commit de917bc543

@ -61,7 +61,7 @@ function angeltypes_about_controller() {
* Delete an Angeltype.
*/
function angeltype_delete_controller() {
global $privileges, $user;
global $privileges;
if (! in_array('admin_angel_types', $privileges))
redirect(page_link_to('angeltypes'));

@ -111,7 +111,7 @@ function user_angeltypes_confirm_all_controller() {
* Confirm an user for an angeltype.
*/
function user_angeltype_confirm_controller() {
global $user, $privileges;
global $user;
if (! isset($_REQUEST['user_angeltype_id'])) {
error(_("User angeltype doesn't exist."));

@ -12,7 +12,7 @@ function meetings_title() {
}
function user_meetings() {
global $DISPLAY_NEWS, $user;
global $DISPLAY_NEWS;
$html = '<div class="col-md-12"><h1>' . meetings_title() . '</h1>' . msg();

Loading…
Cancel
Save