From 4528becf4ccbeea3d63f729ed643b5fc7d67f1bb Mon Sep 17 00:00:00 2001 From: Andrew Manning Date: Sun, 5 Jun 2016 20:52:40 -0400 Subject: Remove debugging logger statements --- include/wiki.php | 3 --- 1 file changed, 3 deletions(-) (limited to 'include/wiki.php') diff --git a/include/wiki.php b/include/wiki.php index cc948dee2..23a22007f 100644 --- a/include/wiki.php +++ b/include/wiki.php @@ -230,7 +230,6 @@ function wiki_get_page_content($arr) { return array('content' => null, 'message' => 'Error reading wiki', 'success' => false); } $page_path = $w['path'].'/'.$pageUrlName.'.md'; - logger('$page_path: ' . $page_path); if (is_readable($page_path) === true) { if(filesize($page_path) === 0) { $content = ''; @@ -329,10 +328,8 @@ function wiki_revert_page($arr) { try { $git->setIdentity($observer['xchan_name'], $observer['xchan_addr']); foreach ($git->git->tree($commitHash) as $object) { - logger('tree object: ' . json_encode($object)); if ($object['type'] == 'blob' && $object['file'] === $pageUrlName.'.md' ) { $content = $git->git->cat->blob($object['hash']); - logger('content: ' . json_encode($content)); } } } catch (\PHPGit\Exception\GitException $e) { -- cgit v1.2.3