diff options
author | Sarven Capadisli <csarven@status.net> | 2010-01-24 15:35:36 +0100 |
---|---|---|
committer | Sarven Capadisli <csarven@status.net> | 2010-01-24 15:35:36 +0100 |
commit | 071f455b87cf7e322ba2ec300d6881e3b165f81c (patch) | |
tree | ebad02dea80a176cbd3c7b91b0a61298f83070f5 | |
parent | dd513b3e535ce298252e1861af07b38651e83b8e (diff) | |
parent | 58649055064361eb2d4cab1aa39cc4cf56a92dd8 (diff) |
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
-rw-r--r-- | actions/apiaccountupdateprofile.php | 4 | ||||
-rw-r--r-- | plugins/Imap/ImapPlugin.php | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/actions/apiaccountupdateprofile.php b/actions/apiaccountupdateprofile.php index fd4384a25..9b371ea95 100644 --- a/actions/apiaccountupdateprofile.php +++ b/actions/apiaccountupdateprofile.php @@ -115,11 +115,11 @@ class ApiAccountUpdateProfileAction extends ApiAuthAction $original = clone($profile); - if (empty($this->name)) { + if (!empty($this->name)) { $profile->fullname = $this->name; } - if (empty($this->url)) { + if (!empty($this->url)) { $profile->homepage = $this->url; } diff --git a/plugins/Imap/ImapPlugin.php b/plugins/Imap/ImapPlugin.php index 89a775a16..d1e920b00 100644 --- a/plugins/Imap/ImapPlugin.php +++ b/plugins/Imap/ImapPlugin.php @@ -86,7 +86,7 @@ class ImapPlugin extends Plugin } } - function onStartIoManagerClasses(&$classes) + function onStartQueueDaemonIoManagers(&$classes) { $classes[] = new ImapManager($this); } |