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; } /**