summaryrefslogtreecommitdiff
path: root/modules/gallery/models/log.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-10-15 14:37:57 -0700
committerTim Almdal <tnalmdal@shaw.ca>2009-10-16 08:53:31 -0700
commit00eacd659f27df9c13246c510057c4f42c8866a2 (patch)
tree7f6201c54c0d7c1de2eeb337b3331d1864d30fb0 /modules/gallery/models/log.php
parentbe6765336eb894535d62055fab577dfc951b6b6a (diff)
Start simplifying the interface by moving the static methods from user.php and group.php. Tried creating a identity helper, but the helper identity.php was confused with the library Identity.php. So got around this by making the methods on Identity static and calling the instance within the static methods. Also temporarily moved the user.php and group.php back into the user module.
Diffstat (limited to 'modules/gallery/models/log.php')
-rw-r--r--modules/gallery/models/log.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/models/log.php b/modules/gallery/models/log.php
index d143d7bd..1d639857 100644
--- a/modules/gallery/models/log.php
+++ b/modules/gallery/models/log.php
@@ -26,7 +26,7 @@ class Log_Model extends ORM {
// This relationship depends on an outside module, which may not be present so handle
// failures gracefully.
try {
- return user::lookup($this->user_id);
+ return Identity::lookup_user($this->user_id);
} catch (Exception $e) {
return null;
}