remove php version checks for older ( < 5.4) code incompatibilities

This commit is contained in:
zotlabs
2017-05-23 21:20:40 -07:00
parent bf580fcc06
commit 3a00140797
3 changed files with 15 additions and 30 deletions

View File

@@ -120,12 +120,6 @@ class Admin extends \Zotlabs\Web\Controller {
// Could be extended to provide also other alerts to the admin
$alertmsg = '';
// annoy admin about upcoming unsupported PHP version
if (version_compare(PHP_VERSION, '5.4', '<')) {
$alertmsg = 'Your PHP version ' . PHP_VERSION . ' will not be supported with the next major release of $Projectname. You are strongly urged to upgrade to a current version.'
. '<br>PHP 5.3 has reached its <a href="http://php.net/eol.php" class="alert-link">End of Life (EOL)</a> in August 2014.'
. ' A list about current PHP versions can be found <a href="http://php.net/supported-versions.php" class="alert-link">here</a>.';
}
$vmaster = get_repository_version('master');
$vdev = get_repository_version('dev');