From 92bee77f40a90c6b0144b20b09982b259dd5bb6e Mon Sep 17 00:00:00 2001 From: fufroma Date: Wed, 26 Mar 2014 15:09:43 +0100 Subject: [PATCH] Suggested changes --- bureau/class/m_mail.php | 6 +++++- bureau/class/m_piwik.php | 4 ++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/bureau/class/m_mail.php b/bureau/class/m_mail.php index 0853bce5..2d76d8fc 100644 --- a/bureau/class/m_mail.php +++ b/bureau/class/m_mail.php @@ -151,6 +151,9 @@ class m_mail { return $rr; } + /** + * @param string $domain_id + */ function catchall_del($domain_id) { $catch = $this->catchall_getinfos($domain_id); if (empty($catch['mail_id'])) return false; @@ -613,7 +616,7 @@ ORDER BY * @param $mail_id integer the number of the email to delete * @param integer $islocal boolean is it a POP/IMAP mailbox ? * @param integer $quotamb integer if islocal=1, quota in MB - * @param $recipients string recipients, one mail per line. + * @param string $recipients string recipients, one mail per line. * @return boolean if the email has been properly edited * or false if an error occured ($err is filled accordingly) */ @@ -701,6 +704,7 @@ ORDER BY * @ param : $type, the type of the alias created * @param string $m * @param string $alias + * @param string $dom_id */ function create_alias($dom_id,$m,$alias,$type="",$dontcheck=false) { global $err,$db,$mail; diff --git a/bureau/class/m_piwik.php b/bureau/class/m_piwik.php index b92b9844..58940475 100644 --- a/bureau/class/m_piwik.php +++ b/bureau/class/m_piwik.php @@ -357,6 +357,10 @@ class m_piwik { } + /** + * @param string $module + * @param string $method + */ function call_page($module, $method, $arguments=array(), $output = 'JSON') { global $err; $url = sprintf('%s/?module=%s&method=%s&format=%s', $this->piwik_server_uri, $module, $method, $output);