aboutsummaryrefslogtreecommitdiff
path: root/engine
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
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')
-rw-r--r--engine/lib/entities.php2
-rw-r--r--engine/lib/notification.php2
-rw-r--r--engine/lib/users.php12
-rw-r--r--engine/lib/version.php4
4 files changed, 10 insertions, 10 deletions
diff --git a/engine/lib/entities.php b/engine/lib/entities.php
index aadbdc835..3eaea5136 100644
--- a/engine/lib/entities.php
+++ b/engine/lib/entities.php
@@ -2358,7 +2358,7 @@
if (isset($page[0])) {
global $CONFIG;
set_input('guid',$page[0]);
- @include($CONFIG->path . "entities/index.php");
+ include($CONFIG->path . "entities/index.php");
}
}
diff --git a/engine/lib/notification.php b/engine/lib/notification.php
index 6b91a67cf..d80c17ca0 100644
--- a/engine/lib/notification.php
+++ b/engine/lib/notification.php
@@ -315,7 +315,7 @@
function notification_user_settings_save() {
global $CONFIG;
- @include($CONFIG->path . "actions/notifications/settings/usersettings/save.php");
+ include($CONFIG->path . "actions/notifications/settings/usersettings/save.php");
}
diff --git a/engine/lib/users.php b/engine/lib/users.php
index e086c8236..3a65aac56 100644
--- a/engine/lib/users.php
+++ b/engine/lib/users.php
@@ -1373,7 +1373,7 @@
* Page handler for dashboard
*/
function dashboard_page_handler($page_elements) {
- @require_once(dirname(dirname(dirname(__FILE__))) . "/dashboard/index.php");
+ require_once(dirname(dirname(dirname(__FILE__))) . "/dashboard/index.php");
}
/**
@@ -1550,11 +1550,11 @@
function users_settings_save() {
global $CONFIG;
- @include($CONFIG->path . "actions/user/name.php");
- @include($CONFIG->path . "actions/user/password.php");
- @include($CONFIG->path . "actions/email/save.php");
- @include($CONFIG->path . "actions/user/language.php");
- @include($CONFIG->path . "actions/user/default_access.php");
+ include($CONFIG->path . "actions/user/name.php");
+ include($CONFIG->path . "actions/user/password.php");
+ include($CONFIG->path . "actions/email/save.php");
+ include($CONFIG->path . "actions/user/language.php");
+ include($CONFIG->path . "actions/user/default_access.php");
}
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;
}