summaryrefslogtreecommitdiff
path: root/pages/api/pluralkit-integration.php
diff options
context:
space:
mode:
authorRaindropsSys <raindrops@equestria.dev>2024-03-29 22:05:35 +0100
committerRaindropsSys <raindrops@equestria.dev>2024-03-29 22:05:35 +0100
commit5860551daa0f60103ad24e93da29f401a653f144 (patch)
tree9ad97e04152a6edc11d5096c87880978df39086a /pages/api/pluralkit-integration.php
parenta51979ad60074db84af78a06d30fcb888ccb0b03 (diff)
downloadpluralconnect-5860551daa0f60103ad24e93da29f401a653f144.tar.gz
pluralconnect-5860551daa0f60103ad24e93da29f401a653f144.tar.bz2
pluralconnect-5860551daa0f60103ad24e93da29f401a653f144.zip
Updated 20 files, added 6 files, deleted 144 files and renamed .idea/ponycule.iml (automated)
Diffstat (limited to 'pages/api/pluralkit-integration.php')
-rw-r--r--pages/api/pluralkit-integration.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/pages/api/pluralkit-integration.php b/pages/api/pluralkit-integration.php
index a3faa6f..9b0033d 100644
--- a/pages/api/pluralkit-integration.php
+++ b/pages/api/pluralkit-integration.php
@@ -1,7 +1,5 @@
<?php
-require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/util/agewarning.inc";
-
$app = $GLOBALS["ColdHazeApp"];
$user = $_GET['user'] ?? null;
$inputJSON = file_get_contents('php://input');
@@ -63,4 +61,4 @@ if ($input["type"] === "CREATE_SWITCH" || $input["type"] === "UPDATE_SWITCH" ||
createJob("FrontersNotification", [
"system" => $system
]);
-} \ No newline at end of file
+}