aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_user.inc.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2011-01-22 21:12:48 +0000
committerrvelices <rv-github@modusoptimus.com>2011-01-22 21:12:48 +0000
commit13b9118f4170ceace4a095cc952bdeb389d69c9a (patch)
tree6c6fcf2312d13bc0a440fe2d3c050d5946843c93 /include/functions_user.inc.php
parentf33339b964f3da16eb42e68b7c31acd1fbf2222f (diff)
- fix icon display on index page (calendar by post date)
- remove unnecessary include_once - mysql functions simplification git-svn-id: http://piwigo.org/svn/trunk@8844 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/functions_user.inc.php')
-rw-r--r--include/functions_user.inc.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/functions_user.inc.php b/include/functions_user.inc.php
index 225386f6a..2d3279e1a 100644
--- a/include/functions_user.inc.php
+++ b/include/functions_user.inc.php
@@ -154,7 +154,6 @@ SELECT MAX('.$conf['user_fields']['id'].') + 1
$conf['user_fields']['email'] => $mail_address
);
- include_once(PHPWG_ROOT_PATH.'admin/include/functions.php');
mass_inserts(USERS_TABLE, array_keys($insert), array($insert));
// Assign by default groups
@@ -184,7 +183,6 @@ SELECT id
if (count($inserts) != 0)
{
- include_once(PHPWG_ROOT_PATH.'admin/include/functions.php');
mass_inserts(USER_GROUP_TABLE, array('user_id', 'group_id'), $inserts);
}
@@ -417,7 +415,6 @@ DELETE FROM '.USER_CACHE_CATEGORIES_TABLE.'
WHERE user_id = '.$userdata['id'];
pwg_query($query);
- include_once(PHPWG_ROOT_PATH.'admin/include/functions.php');
mass_inserts
(
USER_CACHE_CATEGORIES_TABLE,
@@ -1022,9 +1019,7 @@ function create_user_infos($arg_id, $override_values = null)
array_push($inserts, $insert);
}
- include_once(PHPWG_ROOT_PATH.'admin/include/functions.php');
mass_inserts(USER_INFOS_TABLE, array_keys($inserts[0]), $inserts);
-
}
}