Skip to content
Snippets Groups Projects
Commit ed14541a authored by Vincent Petry's avatar Vincent Petry
Browse files

Removed stray debug log write

parent 31e1c15d
No related branches found
No related tags found
No related merge requests found
......@@ -115,7 +115,6 @@ function relative_modified_date($timestamp, $dateOnly = false) {
$diffhours = round($diffminutes/60);
$diffdays = round($diffhours/24);
$diffmonths = round($diffdays/31);
\OC_Log::write('functions', '################ ' . $timediff . ' ' . $diffhours, \OC_Log::DEBUG);
if(!$dateOnly && $timediff < 60) { return $l->t('seconds ago'); }
else if(!$dateOnly && $timediff < 3600) { return $l->n('%n minute ago', '%n minutes ago', $diffminutes); }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment