users / notifications : temporary disabled notifications system

This commit is contained in:
isUnknown 2024-11-21 19:43:49 +01:00
parent 9167519388
commit ef6375f4cc
15 changed files with 302 additions and 113 deletions

View file

@ -51,9 +51,9 @@ return [
echo json_encode(getFileData($newFile));
try {
$user->sendNotification($page->parent()->uri(), $newComment->toArray());
$user->sendNotification($page->parent(), $newComment->toArray());
} catch (\Throwable $th) {
throw new Exception($th->getMessage(), 1);
return $th->getMessage() . " in " . $th->getFile() . " line " . $th->getLine();
}
exit;