Add static in function + add phpdoc

pull/2487/head
jmontoyaa 9 years ago
parent 2ffef59c4a
commit fa54f9543f
  1. 7
      main/lp/learnpath.class.php

@ -10598,7 +10598,12 @@ EOD;
);
}
public function verify_document_size($s)
/**
* Verify document size
* @param string $s
* @return bool
*/
public static function verify_document_size($s)
{
$post_max = ini_get('post_max_size');
if (substr($post_max, -1, 1) == 'M') {

Loading…
Cancel
Save