]> 91.132.146.200 Git - scientia.git/commitdiff
leftover. Not needed anymore
authorBanana <mail@bananas-playground.net>
Sun, 28 Nov 2021 10:07:38 +0000 (11:07 +0100)
committerBanana <mail@bananas-playground.net>
Sun, 28 Nov 2021 10:07:38 +0000 (11:07 +0100)
webroot/index.php

index ea3a8e7525b71876e804e1b86fce7317267a51a3..5a04fc8c716af9e0683bb446564cd006a42eb08f 100644 (file)
@@ -92,12 +92,6 @@ if(isset($_GET['id']) && Summoner::validate($_GET['id'], 'shortlink',4)) {
        $_view = 'entry';
 }
 
-try {
-       $_date = new DateTime("$_year-$_month-$_day");
-} catch (Exception $e) {
-       $_date = new DateTime();
-}
-
 require_once 'view/'.$_view.'/'.$_view.'.php';
 
 # header information