Skip to content

Commit

Permalink
Add @todo notes to User and Group classes - not sure if these errors …
Browse files Browse the repository at this point in the history
…still exist
  • Loading branch information
shadlaws committed Jul 11, 2013
1 parent 8162e8f commit 360dd7d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/user/classes/User/Group.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ protected static function _lookup_by_field($field_name, $value) {
return $group;
}
} catch (Exception $e) {
if (strpos($e->getMessage(), "MISSING_MODEL") === false) {
if (strpos($e->getMessage(), "MISSING_MODEL") === false) { // @todo: check this...
throw $e;
}
}
Expand Down
2 changes: 1 addition & 1 deletion modules/user/classes/User/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ protected static function _lookup_user_by_field($field_name, $value) {
return $user;
}
} catch (Exception $e) {
if (strpos($e->getMessage(), "MISSING_MODEL") === false) {
if (strpos($e->getMessage(), "MISSING_MODEL") === false) { // @todo: check this...
throw $e;
}
}
Expand Down

0 comments on commit 360dd7d

Please sign in to comment.