summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2008-11-20 06:26:42 +0000
committerBharat Mediratta <bharat@menalto.com>2008-11-20 06:26:42 +0000
commit340a0d7117e4c574429eae39eb328471e516941a (patch)
treeea7ab3b8c00e0e50d4b59f8b17e943aba7a18e29
parent6fd261c8b02c90d6a24d12b10e5bd20a0adb4734 (diff)
Add a @todo to change user "joe" in the future.
-rw-r--r--modules/user/helpers/user_installer.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/user/helpers/user_installer.php b/modules/user/helpers/user_installer.php
index ddcdf849..1ba2e866 100644
--- a/modules/user/helpers/user_installer.php
+++ b/modules/user/helpers/user_installer.php
@@ -72,7 +72,8 @@ class user_installer {
throw new Exception("@todo {$user->name} WAS_NOT_ADDED_TO {$group_name}");
}
}
-
+
+ // @todo: get this name from the installer.
$user = ORM::factory("user")->where("name", "joe")->find();
$user->name = "joe";
$user->display_name = "Registered User";