aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/sites.php
diff options
context:
space:
mode:
authorSteve Clay <steve@mrclay.org>2013-02-04 20:59:06 -0500
committerCash Costello <cash.costello@gmail.com>2013-02-09 08:14:23 -0500
commit269d3621531a80b13221a2f6e663efe2ad20ccaa (patch)
tree68f69ccace8be00d579d96f02d77c93f196e53a0 /engine/lib/sites.php
parent78e0ec583619cbb728cbe03df857c8219acaac7e (diff)
downloadelgg-269d3621531a80b13221a2f6e663efe2ad20ccaa.tar.gz
elgg-269d3621531a80b13221a2f6e663efe2ad20ccaa.tar.bz2
remove unused code: vars, foreach keys, etc
Diffstat (limited to 'engine/lib/sites.php')
-rw-r--r--engine/lib/sites.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/engine/lib/sites.php b/engine/lib/sites.php
index 8ee3213d3..3de0eccc2 100644
--- a/engine/lib/sites.php
+++ b/engine/lib/sites.php
@@ -118,8 +118,6 @@ function create_site_entity($guid, $name, $description, $url) {
* @return bool
*/
function add_site_user($site_guid, $user_guid) {
- global $CONFIG;
-
$site_guid = (int)$site_guid;
$user_guid = (int)$user_guid;
@@ -150,8 +148,6 @@ function remove_site_user($site_guid, $user_guid) {
* @return mixed
*/
function add_site_object($site_guid, $object_guid) {
- global $CONFIG;
-
$site_guid = (int)$site_guid;
$object_guid = (int)$object_guid;