Skip to content

Commit

Permalink
get rid of notReady()
Browse files Browse the repository at this point in the history
duplicate of accessDenied()
  • Loading branch information
PF94 authored Nov 6, 2021
1 parent f73a11a commit 7ddc5d3
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions lib/misc.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,6 @@ function isCli() {
return php_sapi_name() == "cli";
}

// Makes incomplete unready features not available on production (aka squarebracket.veselcraft.ru)
function notReady() {
http_response_code(403);
die(__("This feature is not ready for production."));
}

function accessDenied() {
http_response_code(403);
die(__("Access Denied"));
Expand All @@ -31,4 +25,4 @@ function gitCommit($trim = true) {
return substr($commit, 0, 7);
else
return rtrim($commit);
}
}

0 comments on commit 7ddc5d3

Please sign in to comment.