Skip to content

Commit

Permalink
Fix phpcs
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed May 29, 2019
1 parent fd0eb47 commit a524fd1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion htdocs/core/lib/geturl.lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ function getURLContent($url, $postorget = 'GET', $param = '', $followlocation =
* @param int $mode 0=return 'mydomain', 1=return 'mydomain.com'
* @return string Returns domaine name
*/
function getDomainFromURL($url, $mode=0)
function getDomainFromURL($url, $mode = 0)
{
$tmpdomain = preg_replace('/^https?:\/\//i', '', $url); // Remove http(s)://
$tmpdomain = preg_replace('/\/.*$/i', '', $tmpdomain); // Remove part after domain
Expand Down
4 changes: 2 additions & 2 deletions htdocs/public/cron/cron_run_jobs.php
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
{
echo " - qualified";

dol_syslog("cron_run_jobs.php line->datenextrun:".dol_print_date($line->datenextrun,'dayhourrfc')." line->datestart:".dol_print_date($line->datestart,'dayhourrfc')." line->dateend:".dol_print_date($line->dateend,'dayhourrfc')." now:".dol_print_date($now,'dayhourrfc'));
dol_syslog("cron_run_jobs.php line->datenextrun:".dol_print_date($line->datenextrun, 'dayhourrfc')." line->datestart:".dol_print_date($line->datestart, 'dayhourrfc')." line->dateend:".dol_print_date($line->dateend, 'dayhourrfc')." now:".dol_print_date($now, 'dayhourrfc'));

$cronjob=new Cronjob($db);
$result=$cronjob->fetch($line->id);
Expand Down Expand Up @@ -230,7 +230,7 @@
{
echo " - not qualified\n";

dol_syslog("cron_run_jobs.php job not qualified line->datenextrun:".dol_print_date($line->datenextrun,'dayhourrfc')." line->datestart:".dol_print_date($line->datestart,'dayhourrfc')." line->dateend:".dol_print_date($line->dateend,'dayhourrfc')." now:".dol_print_date($now,'dayhourrfc'));
dol_syslog("cron_run_jobs.php job not qualified line->datenextrun:".dol_print_date($line->datenextrun, 'dayhourrfc')." line->datestart:".dol_print_date($line->datestart, 'dayhourrfc')." line->dateend:".dol_print_date($line->dateend, 'dayhourrfc')." now:".dol_print_date($now, 'dayhourrfc'));
}
}

Expand Down

0 comments on commit a524fd1

Please sign in to comment.