aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Manning <tamanning@zoho.com>2016-06-05 20:52:40 -0400
committerAndrew Manning <tamanning@zoho.com>2016-06-05 20:52:40 -0400
commit4528becf4ccbeea3d63f729ed643b5fc7d67f1bb (patch)
tree37bc44cd3523dfcfea532ec39fa3fb784b7ce415
parentd2a7f83bb5f633422afc52b1441403b9cccebf8e (diff)
downloadvolse-hubzilla-4528becf4ccbeea3d63f729ed643b5fc7d67f1bb.tar.gz
volse-hubzilla-4528becf4ccbeea3d63f729ed643b5fc7d67f1bb.tar.bz2
volse-hubzilla-4528becf4ccbeea3d63f729ed643b5fc7d67f1bb.zip
Remove debugging logger statements
-rw-r--r--include/widgets.php1
-rw-r--r--include/wiki.php3
2 files changed, 0 insertions, 4 deletions
diff --git a/include/widgets.php b/include/widgets.php
index 9ea517a2d..5237b1a30 100644
--- a/include/widgets.php
+++ b/include/widgets.php
@@ -905,7 +905,6 @@ function widget_wiki_pages($arr) {
}
}
}
- logger('pages: ' . json_encode($pages));
return replace_macros(get_markup_template('wiki_page_list.tpl'), array(
'$hide' => $hide,
'$not_refresh' => $not_refresh,
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) {