aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/version.php
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-10-07 20:51:56 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-10-07 20:51:56 +0000
commitfc11e5260309702e3301837e3725fe8084b61a4e (patch)
treeb5ba2948afc89056da7b4a08cfcaeb786e13dabd /engine/lib/version.php
parent636b7054662d4cffcc0e8615216cc39f9faae35f (diff)
downloadelgg-fc11e5260309702e3301837e3725fe8084b61a4e.tar.gz
elgg-fc11e5260309702e3301837e3725fe8084b61a4e.tar.bz2
Fixes #790: Removing unneeded @s.
git-svn-id: http://code.elgg.org/elgg/trunk@3513 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/version.php')
-rw-r--r--engine/lib/version.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/version.php b/engine/lib/version.php
index 2476a0b75..8251efe67 100644
--- a/engine/lib/version.php
+++ b/engine/lib/version.php
@@ -48,7 +48,7 @@
if (sizeof($upgrades) > 0) {
foreach($upgrades as $upgrade) {
try {
- @include($CONFIG->path . 'engine/lib/upgrades/' . $upgrade);
+ include($CONFIG->path . 'engine/lib/upgrades/' . $upgrade);
} catch (Exception $e) {
error_log($e->getmessage());
}
@@ -71,7 +71,7 @@
function get_version($humanreadable = false) {
global $CONFIG;
- if (@include($CONFIG->path . "version.php")) {
+ if (include($CONFIG->path . "version.php")) {
if (!$humanreadable) return $version;
return $release;
}