瀏覽代碼

updating @since tags to indicate version in stable

tokul 20 年之前
父節點
當前提交
42076e5d0c
共有 3 個文件被更改,包括 4 次插入3 次删除
  1. 1 1
      class/deliver/Deliver.class.php
  2. 2 1
      config/config_default.php
  3. 1 1
      contrib/decrypt_headers.php

+ 1 - 1
class/deliver/Deliver.class.php

@@ -735,7 +735,7 @@ class Deliver {
      * If function fails to detect address format, it returns unprocessed string.
      * If function fails to detect address format, it returns unprocessed string.
      * @param string $string ip address string
      * @param string $string ip address string
      * @return string processed ip address string
      * @return string processed ip address string
-     * @since 1.5.1
+     * @since 1.5.1 and 1.4.5
      */
      */
     function ip2hex($string) {
     function ip2hex($string) {
         if (preg_match("/^(\d+)\.(\d+)\.(\d+)\.(\d+)$/",$string,$match)) {
         if (preg_match("/^(\d+)\.(\d+)\.(\d+)\.(\d+)$/",$string,$match)) {

+ 2 - 1
config/config_default.php

@@ -157,7 +157,7 @@ $smtpPort = 25;
  * Encoded information can be decoded with decrypt_headers.php script
  * Encoded information can be decoded with decrypt_headers.php script
  * from SquirrelMail contrib/ directory.
  * from SquirrelMail contrib/ directory.
  * @global string $encode_header_key
  * @global string $encode_header_key
- * @since 1.5.1
+ * @since 1.5.1 and 1.4.5
  */
  */
 $encode_header_key = '';
 $encode_header_key = '';
 
 
@@ -543,6 +543,7 @@ $edit_name = true;
  *
  *
  * See SquirrelMail bug tracker #847107 for more details about it.
  * See SquirrelMail bug tracker #847107 for more details about it.
  * @global bool $hide_auth_header
  * @global bool $hide_auth_header
+ * @since 1.5.1 and 1.4.5
  */
  */
 $hide_auth_header = false;
 $hide_auth_header = false;
 
 

+ 1 - 1
contrib/decrypt_headers.php

@@ -41,7 +41,7 @@ include_once(SM_PATH.'functions/strings.php');
  * @param string $hex hexadecimal string created with squirrelmail ip2hex 
  * @param string $hex hexadecimal string created with squirrelmail ip2hex 
  *  function in delivery class.
  *  function in delivery class.
  * @return string ip address
  * @return string ip address
- * @since 1.5.1
+ * @since 1.5.1 and 1.4.5
  */
  */
 function hex2ip($hex) {
 function hex2ip($hex) {
     if (strlen($hex)==8) {
     if (strlen($hex)==8) {