remove unused code
This commit is contained in:
parent
f02148af35
commit
de917bc543
|
@ -61,7 +61,7 @@ function angeltypes_about_controller() {
|
||||||
* Delete an Angeltype.
|
* Delete an Angeltype.
|
||||||
*/
|
*/
|
||||||
function angeltype_delete_controller() {
|
function angeltype_delete_controller() {
|
||||||
global $privileges, $user;
|
global $privileges;
|
||||||
|
|
||||||
if (! in_array('admin_angel_types', $privileges))
|
if (! in_array('admin_angel_types', $privileges))
|
||||||
redirect(page_link_to('angeltypes'));
|
redirect(page_link_to('angeltypes'));
|
||||||
|
|
|
@ -111,7 +111,7 @@ function user_angeltypes_confirm_all_controller() {
|
||||||
* Confirm an user for an angeltype.
|
* Confirm an user for an angeltype.
|
||||||
*/
|
*/
|
||||||
function user_angeltype_confirm_controller() {
|
function user_angeltype_confirm_controller() {
|
||||||
global $user, $privileges;
|
global $user;
|
||||||
|
|
||||||
if (! isset($_REQUEST['user_angeltype_id'])) {
|
if (! isset($_REQUEST['user_angeltype_id'])) {
|
||||||
error(_("User angeltype doesn't exist."));
|
error(_("User angeltype doesn't exist."));
|
||||||
|
|
|
@ -12,7 +12,7 @@ function meetings_title() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function user_meetings() {
|
function user_meetings() {
|
||||||
global $DISPLAY_NEWS, $user;
|
global $DISPLAY_NEWS;
|
||||||
|
|
||||||
$html = '<div class="col-md-12"><h1>' . meetings_title() . '</h1>' . msg();
|
$html = '<div class="col-md-12"><h1>' . meetings_title() . '</h1>' . msg();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue