Browse Source

removed TODO, one day this all needs refacturizing ...

Signed-off-by: Roland Haeder <roland@mxchange.org>
pull/3254/head
Roland Häder 5 years ago
parent
commit
2f5c796886
No known key found for this signature in database
GPG Key ID: B72F8185C6C7BD78
  1. 2
      include/dfrn.php
  2. 1
      mod/profiles.php

2
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;
}

1
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);
}

Loading…
Cancel
Save