From 5d9a865fe1931869d3d9edb19f64d66783a0f4f4 Mon Sep 17 00:00:00 2001 From: plegall Date: Tue, 16 Jan 2007 23:39:39 +0000 Subject: Modification: new data model for history, more compact, more efficient. A summary table is used as cache for history stats display. New: a Perl script fill_history.pl was added to simulate a high load on history table (making the efficiency of the new data model obvious). Modification: function prepend_append_array_items moved from include/functions_search.inc.php to include/functions_search.inc.php since this function is used in new file admin/history.php Modification: admin/images/*_stats.img.php replaced by a simpler and more generic admin/images/stats.img.php unique file. New: a history detail search page was added. Currently, only start and end dates can be modified, it's just a beginning. git-svn-id: http://piwigo.org/svn/trunk@1727 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/functions_search.inc.php | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'include/functions_search.inc.php') diff --git a/include/functions_search.inc.php b/include/functions_search.inc.php index 14076ffb0..8f1105caf 100644 --- a/include/functions_search.inc.php +++ b/include/functions_search.inc.php @@ -26,23 +26,6 @@ // +-----------------------------------------------------------------------+ -/** - * Prepends and appends a string at each value of the given array. - * - * @param array - * @param string prefix to each array values - * @param string suffix to each array values - */ -function prepend_append_array_items($array, $prepend_str, $append_str) -{ - array_walk( - $array, - create_function('&$s', '$s = "'.$prepend_str.'".$s."'.$append_str.'";') - ); - - return $array; -} - /** * returns search rules stored into a serialized array in "search" * table. Each search rules set is numericaly identified. -- cgit v1.2.3