mirror of
https://github.com/WhatCD/Gazelle.git
synced 2024-12-12 18:36:29 +00:00
12 lines
316 B
PHP
12 lines
316 B
PHP
<?
|
|
authorize();
|
|
if (!check_perms('users_mod') && $_GET['userid'] != $LoggedUser['ID']) {
|
|
error(403);
|
|
}
|
|
|
|
$UserID = db_string($_GET['userid']);
|
|
NotificationsManager::send_push($UserID, 'Push!', 'You\'ve been pushed by ' . $LoggedUser['Username']);
|
|
|
|
header('Location: user.php?action=edit&userid=' . $UserID . "");
|
|
?>
|