X-Git-Url: https://git.cweiske.de/phorkie.git/blobdiff_plain/a73791f16d10ea0e2c477f29d9049d75516aa774..92d6cf1f537c2126baf324cbdadbef1067e156b6:/www/delete.php diff --git a/www/delete.php b/www/delete.php index f332028..d9ee251 100644 --- a/www/delete.php +++ b/www/delete.php @@ -3,10 +3,8 @@ namespace phorkie; /** * Delete paste or ask for deletion */ +$secureAtLevel = '1'; require_once 'www-header.php'; -if ($GLOBALS['phorkie']['auth']['secure'] > 0) { - require_once 'secure.php'; -} $repo = new Repository(); $repo->loadFromRequest();