aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoricewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-04-01 14:04:22 +0000
committericewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-04-01 14:04:22 +0000
commit37a3f9abb2520d15ddec79e98c5597c84b1980cf (patch)
tree14bd7ebd2bfe9a32348202c3b8d5fea222380a7a
parent1cd6da51170f2ed79d647fa5391f2bc3b072fc96 (diff)
downloadelgg-37a3f9abb2520d15ddec79e98c5597c84b1980cf.tar.gz
elgg-37a3f9abb2520d15ddec79e98c5597c84b1980cf.tar.bz2
Marcus Povey <marcus@dushka.co.uk>
* Moved import to ElggEntity git-svn-id: https://code.elgg.org/elgg/trunk@305 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--engine/lib/users.php23
1 files changed, 1 insertions, 22 deletions
diff --git a/engine/lib/users.php b/engine/lib/users.php
index 1c5b35757..e8e6554f9 100644
--- a/engine/lib/users.php
+++ b/engine/lib/users.php
@@ -456,26 +456,5 @@
return false;
}
-
- /**
- * Import a user.
- * This function checks the passed XML doc (as array) to see if it is a user, if so it constructs a new
- * elgg user and returns "true" to inform the importer that it's been handled.
- */
- function import_user_plugin_hook($hook, $entity_type, $returnvalue, $params)
- {
- $name = $params['name'];
- $element = $params['element'];
-
- if ($name == 'ElggUser')
- {
- $tmp = new ElggUser();
- $tmp->import($element);
-
- return $tmp;
- }
- }
-
- /** Register the import hook */
- register_plugin_hook("import", "all", "import_user_plugin_hook", 0);
+
?> \ No newline at end of file