Explorar o código

Documenting Subs-Attachments.php - fixed typo (thanks Norv) and documented last function (thanks Kays48)

Signed-off-by: emanuele <[email protected]>
emanuele %!s(int64=12) %!d(string=hai) anos
pai
achega
f5c6aaacbb
Modificáronse 1 ficheiros con 3 adicións e 2 borrados
  1. 3 2
      Sources/Subs-Attachments.php

+ 3 - 2
Sources/Subs-Attachments.php

@@ -124,7 +124,7 @@ function automanage_attachments_check_directory()
  *
  * @param $updir: the directory to be created
  *
- * @return (bool) false on erros
+ * @return (bool) false on errors
  */
 function automanage_attachments_create_directory($updir)
 {
@@ -206,7 +206,8 @@ function automanage_attachments_create_directory($updir)
 }
 
 /**
- * 
+ * Called when a directory space limit is reached.
+ * Creates a new directory and increments the directory suffix number.
  *
  * @return (bool) false on erros
  */