mirror of
https://github.com/OPSnet/Gazelle.git
synced 2026-10-19 10:03:17 -04:00
15 lines
378 B
PHP
15 lines
378 B
PHP
<?php
|
|
|
|
use \Gazelle\Manager\Notification;
|
|
|
|
authorize();
|
|
if (!check_perms('users_mod') && $_GET['userid'] != $LoggedUser['ID']) {
|
|
error(403);
|
|
}
|
|
|
|
$UserID = db_string($_GET['userid']);
|
|
$notification = new Notification;
|
|
$notification->push($UserID, 'Push!', 'You\'ve been pushed by ' . $LoggedUser['Username']);
|
|
|
|
header('Location: user.php?action=edit&userid=' . $UserID . "");
|