From 2f5c796886495e21c09e4fbe550525dd90650689 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Sat, 25 Mar 2017 13:01:41 +0100 Subject: [PATCH] removed TODO, one day this all needs refacturizing ... Signed-off-by: Roland Haeder --- include/dfrn.php | 2 -- mod/profiles.php | 1 - 2 files changed, 3 deletions(-) diff --git a/include/dfrn.php b/include/dfrn.php index 887dba9a1..1064d7bd8 100644 --- a/include/dfrn.php +++ b/include/dfrn.php @@ -1813,7 +1813,6 @@ class dfrn { update_contact_avatar($relocate["avatar"], $importer["importer_uid"], $importer["id"], true); - /// @TODO decide to use dbm::is_result() here if ($x === false) { return false; } @@ -1837,7 +1836,6 @@ class dfrn { $n, dbesc($f[0]), intval($importer["importer_uid"])); - /// @TODO decide to use dbm::is_result() here if ($x === false) { return false; } diff --git a/mod/profiles.php b/mod/profiles.php index 233b276a3..a034f670e 100644 --- a/mod/profiles.php +++ b/mod/profiles.php @@ -465,7 +465,6 @@ function profiles_post(App $a) { intval(local_user()) ); - /// @TODO decide to use dbm::is_result() here and check $r if ($r) { info(t('Profile updated.') . EOL); }