]> git.mxchange.org Git - friendica.git/commitdiff
don't quit silently, at least a TODO is now around
authorRoland Häder <roland@mxchange.org>
Tue, 7 Feb 2017 08:06:33 +0000 (09:06 +0100)
committerRoland Haeder <roland@mxchange.org>
Sat, 18 Mar 2017 23:52:37 +0000 (00:52 +0100)
Signed-off-by: Roland Häder <roland@mxchange.org>
include/ostatus.php
mod/settings.php

index 74ad948869f0d80eee39e5b28bee5396bac7afc3..992c77f37837e58ed39e24b18734e463a761603e 100644 (file)
@@ -980,6 +980,7 @@ class ostatus {
                $r = q("SELECT `nurl` FROM `contact` WHERE `uid` = %d AND `self`", intval($uid));
 
                if (!dbm::is_result($r)) {
+                       /// @TODO don't quit silently
                        killme();
                }
 
index bfc444334f55d45e71fc66dcf1a7886fdd7a1568..c5b798880328adb406f8181610c66b258aad54da 100644 (file)
@@ -385,6 +385,7 @@ function settings_post(App $a) {
                //  changing it to the new value
                $r = q("SELECT `password` FROM `user`WHERE `uid` = %d LIMIT 1", intval(local_user()));
                if (!dbm::is_result($r)) {
+                       /// @todo Don't quit silently here
                        killme();
                } elseif ( $oldpass != $r[0]['password'] ) {
                        notice( t('Wrong password.') . EOL);