From 44d8dfb025e25d0a0838c3ad281fc2e24ae4423a Mon Sep 17 00:00:00 2001 From: Brayan Pereyra Date: Thu, 25 Sep 2025 01:57:07 +0000 Subject: [PATCH] TASK-232 Deprecated the funcion encryptlink --- gulliver/system/class.bootstrap.php | 15 +++------------ gulliver/system/class.g.php | 15 +++------------ 2 files changed, 6 insertions(+), 24 deletions(-) diff --git a/gulliver/system/class.bootstrap.php b/gulliver/system/class.bootstrap.php index 41d334223..f6b5a253c 100644 --- a/gulliver/system/class.bootstrap.php +++ b/gulliver/system/class.bootstrap.php @@ -2519,20 +2519,11 @@ class Bootstrap } /** - * Encrypt URL DEPRECATED - * - * @author Fernando Ontiveros Lira - * @access public - * @param string $urlLink - * @return string + * @deprecated Lurana v2, We keep this function only for backwards compatibility */ - public function encryptlinkDeprecated($url) + public function encryptlink($url) { - if (defined('ENABLE_ENCRYPT') && ENABLE_ENCRYPT == 'yes') { - return urlencode(Bootstrap::encrypt($url, URL_KEY)); - } else { - return $url; - } + return $url; } /** diff --git a/gulliver/system/class.g.php b/gulliver/system/class.g.php index 865aa47e1..8588a093d 100644 --- a/gulliver/system/class.g.php +++ b/gulliver/system/class.g.php @@ -770,20 +770,11 @@ class G } /** - * Encrypt URL DEPRECATED - * - * @author Fernando Ontiveros Lira - * @access public - * @param string $urlLink - * @return string + * @deprecated Lurana v2, We keep this function only for backwards compatibility */ - public static function encryptlink($url) + public function encryptlink($url) { - if (defined('ENABLE_ENCRYPT') && ENABLE_ENCRYPT == 'yes') { - return urlencode(G::encrypt($url, URL_KEY)); - } else { - return $url; - } + return $url; } /**