]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/Profile.php
Remove deprecated code
[friendica.git] / src / Model / Profile.php
index a8f3f6ac6f9daf22bb3577c57eefc1e31b8944f9..caf0b0869d3fa1aab60312bfdeb782cbbd83577d 100644 (file)
@@ -370,7 +370,6 @@ class Profile
                }
 
                $gender   = !empty($profile['gender'])   ? DI::l10n()->t('Gender:')   : false;
-               $marital  = !empty($profile['marital'])  ? DI::l10n()->t('Status:')   : false;
                $homepage = !empty($profile['homepage']) ? DI::l10n()->t('Homepage:') : false;
                $about    = !empty($profile['about'])    ? DI::l10n()->t('About:')    : false;
                $xmpp     = !empty($profile['xmpp'])     ? DI::l10n()->t('XMPP:')     : false;
@@ -449,10 +448,6 @@ class Profile
                        $p['gender'] = DI::l10n()->t($p['gender']);
                }
 
-               if (isset($p['marital'])) {
-                       $p['marital'] = DI::l10n()->t($p['marital']);
-               }
-
                if (isset($p['photo'])) {
                        $p['photo'] = ProxyUtils::proxifyUrl($p['photo'], false, ProxyUtils::SIZE_SMALL);
                }
@@ -474,7 +469,6 @@ class Profile
                        '$account_type' => $account_type,
                        '$location' => $location,
                        '$gender' => $gender,
-                       '$marital' => $marital,
                        '$homepage' => $homepage,
                        '$about' => $about,
                        '$network' => DI::l10n()->t('Network:'),
@@ -919,13 +913,6 @@ class Profile
                                (`profile`.`locality` LIKE ?) OR
                                (`profile`.`region` LIKE ?) OR
                                (`profile`.`country-name` LIKE ?) OR
-                               (`profile`.`gender` LIKE ?) OR
-                               (`profile`.`marital` LIKE ?) OR
-                               (`profile`.`sexual` LIKE ?) OR
-                               (`profile`.`about` LIKE ?) OR
-                               (`profile`.`romance` LIKE ?) OR
-                               (`profile`.`work` LIKE ?) OR
-                               (`profile`.`education` LIKE ?) OR
                                (`profile`.`pub_keywords` LIKE ?) OR
                                (`profile`.`prv_keywords` LIKE ?))",
                                $searchTerm, $searchTerm, $searchTerm, $searchTerm, $searchTerm, $searchTerm, $searchTerm, $searchTerm,
@@ -961,13 +948,6 @@ class Profile
                                (`profile`.`locality` LIKE ?) OR
                                (`profile`.`region` LIKE ?) OR
                                (`profile`.`country-name` LIKE ?) OR
-                               (`profile`.`gender` LIKE ?) OR
-                               (`profile`.`marital` LIKE ?) OR
-                               (`profile`.`sexual` LIKE ?) OR
-                               (`profile`.`about` LIKE ?) OR
-                               (`profile`.`romance` LIKE ?) OR
-                               (`profile`.`work` LIKE ?) OR
-                               (`profile`.`education` LIKE ?) OR
                                (`profile`.`pub_keywords` LIKE ?) OR
                                (`profile`.`prv_keywords` LIKE ?))
                        $order LIMIT ?,?",