]> jfr.im git - irc/unrealircd/unrealircd-webpanel.git/commitdiff
This plugins/sql_auth/error.php is no longer used
authorBram Matthys <redacted>
Fri, 21 Apr 2023 18:59:10 +0000 (20:59 +0200)
committerBram Matthys <redacted>
Fri, 21 Apr 2023 18:59:22 +0000 (20:59 +0200)
plugins/sql_auth/error.php [deleted file]

diff --git a/plugins/sql_auth/error.php b/plugins/sql_auth/error.php
deleted file mode 100644 (file)
index e662ab1..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-<?php
-
-require_once "../../common.php";
-require_once "../../header.php";
-
-if ($_GET['errno'] == 1)
-{
-    Message::Fail("Looks like your SQL tables haven't been set up yet", 
-                    "SQL_Auth needs to create tables for users and permissions. Is that okay?<br>",
-                    "<form method=\"post\" action=\"index.php\">
-                    <button type=\"submit\" id=\"sql_setup\" name=\"sql_setup\" class=\"text-right btn btn-primary\" value=\"add_tables\">Yes, set up tables</button>
-                    </form>");
-}
-
-else if (!$_GET['errno'])
-{
-    echo "<h3>Uh oh! Looks like there was an error.</h3><h4>That's all we know.</h4>";
-    echo "Here's a cute chihuahua enjoying a chest rub to cheer you up about it<br>";
-    echo "<img width=\"250\" height=\"300\" src=\"https://i.ibb.co/WtvNbkC/20220731-160824.jpg\">";
-}
-?>
\ No newline at end of file