]> git.mxchange.org Git - friendica.git/commitdiff
Continued:
authorRoland Haeder <roland@mxchange.org>
Fri, 24 Mar 2017 19:39:00 +0000 (20:39 +0100)
committerRoland Häder <roland@mxchange.org>
Mon, 14 May 2018 20:50:02 +0000 (22:50 +0200)
- converted multiple single-line comments into one multi-line comment (please
  stop abusing programming languages!)
- added more TODO tags for type-hints (upcoming rewrite)
- opps, one space was only fixed in develop branch, not in this PR branch

Signed-off-by: Roland Haeder <roland@mxchange.org>
src/Protocol/DFRN.php

index 1c9238bb842bb02625671a469303daf4c4fc0a71..00cae469ff5f1b6f75a28493c1367faf0b560282 100644 (file)
@@ -2108,6 +2108,11 @@ class DFRN
 
                logger('Contacts are updated.');
 
+               /// @TODO decide to use dbm::is_result() here
+               if ($x === false) {
+                       return false;
+               }
+
                // update items
                // This is an extreme performance killer
                Item::update(['owner-link' => $relocate["url"]], ['owner-link' => $old["url"], 'uid' => $importer["importer_uid"]]);