From c906a6422c32df2b68d145cf73c78e89c157233f Mon Sep 17 00:00:00 2001 From: Shish Date: Mon, 19 Mar 2012 10:21:03 +0000 Subject: [PATCH] disk space is cheaper than rebuilding history, default to -1 --- contrib/tag_history/main.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/contrib/tag_history/main.php b/contrib/tag_history/main.php index ac4ea0dc..7c738f1f 100644 --- a/contrib/tag_history/main.php +++ b/contrib/tag_history/main.php @@ -58,6 +58,10 @@ class Tag_History extends Extension { ", 20); } + /* + // disk space is cheaper than manually rebuilding history, + // so let's default to -1 and the user can go advanced if + // they /really/ want to public function onSetupBuilding(SetupBuildingEvent $event) { $sb = new SetupBlock("Tag History"); $sb->add_label("Limit to "); @@ -66,6 +70,7 @@ class Tag_History extends Extension { $sb->add_label("
(-1 for unlimited)"); $event->panel->add_block($sb); } + */ public function onTagSet(TagSetEvent $event) { $this->add_tag_history($event->image, $event->tags);