aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/version.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/version.php')
-rw-r--r--engine/lib/version.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/engine/lib/version.php b/engine/lib/version.php
index c11707417..3e4e0e4f7 100644
--- a/engine/lib/version.php
+++ b/engine/lib/version.php
@@ -18,11 +18,6 @@
function upgrade_code($version, $quiet = FALSE) {
global $CONFIG;
- // Elgg and its database must be installed to upgrade it!
- if (!is_db_installed() || !is_installed()) {
- return FALSE;
- }
-
$version = (int) $version;
if ($handle = opendir($CONFIG->path . 'engine/lib/upgrades/')) {