aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-17 11:04:16 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-17 11:04:16 +0000
commitbfeb658e58ce894b03fd9ba867bbf61b682f57f2 (patch)
tree5cdaedc5b982d9411efff46460d5fb1a091b818a
parent71d3cdc4f8b21cfa8ffd69746b80bfe18ed54c18 (diff)
downloadelgg-bfeb658e58ce894b03fd9ba867bbf61b682f57f2.tar.gz
elgg-bfeb658e58ce894b03fd9ba867bbf61b682f57f2.tar.bz2
is_installed now returns a much more representative result. Refs #3
git-svn-id: https://code.elgg.org/elgg/trunk@944 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--engine/lib/install.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/engine/lib/install.php b/engine/lib/install.php
index d60a8ae34..16f000ee7 100644
--- a/engine/lib/install.php
+++ b/engine/lib/install.php
@@ -35,10 +35,7 @@
function is_installed() {
global $CONFIG;
- if (!empty($CONFIG->path))
- return true;
-
- return false;
+ return datalist_get('installed');
}