summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSiebrand Mazeland <s.mazeland@xs4all.nl>2009-11-08 23:10:44 +0100
committerSiebrand Mazeland <s.mazeland@xs4all.nl>2009-11-08 23:10:44 +0100
commit221b779e88e51b70a2c3509798154c461203e636 (patch)
tree42b8e9b5faa2adbf161afe42705b787a71ce12cc /lib
parentda444f8a15043f326aa9a629ba5f0b25bc35b1e5 (diff)
Harmonise UI message "No such user."
Diffstat (limited to 'lib')
-rw-r--r--lib/oauthstore.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/oauthstore.php b/lib/oauthstore.php
index d617a7df7..a4ea5ad4d 100644
--- a/lib/oauthstore.php
+++ b/lib/oauthstore.php
@@ -351,7 +351,7 @@ class StatusNetOAuthDataStore extends OAuthDataStore
$author = User::staticGet('uri', $author_uri);
}
if (!$author) {
- throw new Exception('No such user');
+ throw new Exception('No such user.');
}
common_log(LOG_DEBUG, print_r($author, true), __FILE__);
@@ -407,7 +407,7 @@ class StatusNetOAuthDataStore extends OAuthDataStore
$user = User::staticGet('uri', $uri);
}
if (!$user) {
- throw new Exception('No such user');
+ throw new Exception('No such user.');
}
return $user;
}