浏览代码

first function can be used in other plugins. second function is private and
available in both stable and devel

tokul 20 年之前
父节点
当前提交
496791f313
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      plugins/administrator/auth.php

+ 2 - 2
plugins/administrator/auth.php

@@ -17,7 +17,6 @@
  * Check if user has access to administrative functions
  * Check if user has access to administrative functions
  *
  *
  * @return boolean
  * @return boolean
- * @access private
  */
  */
 function adm_check_user() {
 function adm_check_user() {
     global $PHP_SELF;
     global $PHP_SELF;
@@ -53,7 +52,8 @@ function adm_check_user() {
  * Removes whitespace from array values
  * Removes whitespace from array values
  * @param string $value array value that has to be trimmed
  * @param string $value array value that has to be trimmed
  * @param string $key array key
  * @param string $key array key
- * @since 1.5.1
+ * @since 1.5.1 and 1.4.5
+ * @access private
  */
  */
 function adm_array_trim(&$value,$key) {
 function adm_array_trim(&$value,$key) {
     $value=trim($value);
     $value=trim($value);