mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-11 01:24:27 +02:00
mistpark 2.0 infrasturcture lands
This commit is contained in:
parent
b49858b038
commit
ffb1997902
360 changed files with 25001 additions and 457 deletions
|
@ -17,7 +17,7 @@ function notifications_post(&$a) {
|
|||
WHERE `request-id` = %d
|
||||
AND `uid` = %d LIMIT 1",
|
||||
intval($request_id),
|
||||
intval($_SESSION['uid'])
|
||||
intval(get_uid())
|
||||
);
|
||||
|
||||
if(count($r)) {
|
||||
|
@ -28,10 +28,13 @@ function notifications_post(&$a) {
|
|||
return;
|
||||
}
|
||||
if($_POST['submit'] == t('Discard')) {
|
||||
$r = q("DELETE FROM `intro` WHERE `id` = %d LIMIT 1", intval($intro_id));
|
||||
$r = q("DELETE `contact` WHERE `id` = %d AND `uid` = %d LIMIT 1",
|
||||
$r = q("DELETE FROM `intro` WHERE `id` = %d LIMIT 1",
|
||||
intval($intro_id)
|
||||
);
|
||||
$r = q("DELETE FROM `contact` WHERE `id` = %d AND `uid` = %d LIMIT 1",
|
||||
intval($request_id),
|
||||
intval($_SESSION['uid']));
|
||||
intval(get_uid())
|
||||
);
|
||||
return;
|
||||
}
|
||||
if($_POST['submit'] == t('Ignore')) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue