From 3516221c46f9dbe5b082ac745cfb0a06f44c3906 Mon Sep 17 00:00:00 2001
From: sarnowski <sarnowski@cosmocode.de>
Date: Mon, 24 Aug 2009 13:49:11 +0200
Subject: [PATCH] media manager search: do not show messages about files

darcs-hash:20090824114911-8c5bd-0939197f73e42f1cedbe83dcfa8073880758417d.gz
---
 inc/media.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/inc/media.php b/inc/media.php
index 84b11b65e..e1b80e4de 100644
--- a/inc/media.php
+++ b/inc/media.php
@@ -493,7 +493,7 @@ function media_searchlist($ns,$auth=null,$jump=''){
         $evt = new Doku_Event('ACTION_MEDIA_SEARCH', $dir);
         if ($evt->advise_before()) {
             $pattern = '#'.str_replace('#', '\#', $_REQUEST['key']).'#';
-            search($data,$conf['mediadir'],'search_media', array('showmsg'=>true,'pattern'=>$pattern),$dir);
+            search($data,$conf['mediadir'],'search_media', array('showmsg'=>false,'pattern'=>$pattern),$dir);
 
         }
         $evt->advise_after();
-- 
GitLab