]> git.mxchange.org Git - friendica.git/commitdiff
Review updates
authorAdam Magness <adam.magness@gmail.com>
Thu, 9 Nov 2017 01:08:42 +0000 (20:08 -0500)
committerAdam Magness <adam.magness@gmail.com>
Thu, 9 Nov 2017 01:08:42 +0000 (20:08 -0500)
changes based on review comments.

src/Protocol/DFRN.php

index 8368b507b5d0ed4864dede2aa328644f44a507a7..f400d033ea3536124f6334860fff544ceff32e3e 100644 (file)
@@ -1649,20 +1649,11 @@ class DFRN
                                        `addr` = '%s', `keywords` = '%s', `bdyear` = '%s', `bd` = '%s', `hidden` = %d,
                                        `xmpp` = '%s', `name-date`  = '%s', `uri-date` = '%s'
                                        WHERE `id` = %d AND `network` = '%s'",
-                                       dbesc($contact["name"]),
-                                       dbesc($contact["nick"]),
-                                       dbesc($contact["about"]),
-                                       dbesc($contact["location"]),
-                                       dbesc($contact["addr"]),
-                                       dbesc($contact["keywords"]),
-                                       dbesc($contact["bdyear"]),
-                                       dbesc($contact["bd"]),
-                                       intval($contact["hidden"]),
-                                       dbesc($contact["xmpp"]),
-                                       dbesc(DBM::date($contact["name-date"])),
-                                       dbesc(DBM::date($contact["uri-date"])),
-                                       intval($contact["id"]),
-                                       dbesc($contact["network"])
+                                       dbesc($contact["name"]), dbesc($contact["nick"]), dbesc($contact["about"]),     dbesc($contact["location"]),
+                                       dbesc($contact["addr"]), dbesc($contact["keywords"]), dbesc($contact["bdyear"]),
+                                       dbesc($contact["bd"]), intval($contact["hidden"]), dbesc($contact["xmpp"]),
+                                       dbesc(DBM::date($contact["name-date"])), dbesc(DBM::date($contact["uri-date"])),
+                                       intval($contact["id"]), dbesc($contact["network"])
                                );
                        }
 
@@ -1913,8 +1904,7 @@ class DFRN
                        intval(0)
                );
 
-               notification(
-                       array(
+               notification(array(
                        "type"         => NOTIFY_SUGGEST,
                        "notify_flags" => $importer["notify-flags"],
                        "language"     => $importer["language"],