Note: this list is kept only as a demonstration for CVSNotice. For the latest CVS notices, see the Xaraya and Postnuke sites
View Statistics - Next Notice - Previous NoticeDirectory filter : [ all ] / postnuke_modules / postcalendar [ view in CVS ]
Date | Directory [filter] | File(s) [view] | Author [filter] |
03 Oct 2002 03:48:59 | postnuke_modules/postcalendar | smarty_plugins.php,1.8,1.9 | Roger Raymond |
remove unused code |
Update of /home/cvsroot/postnuke_modules/postcalendar In directory ns7.hostnuke.net:/tmp/cvs-serv2130 Modified Files: smarty_plugins.php Log Message: remove unused code Index: smarty_plugins.php =================================================================== RCS file: /home/cvsroot/postnuke_modules/postcalendar/smarty_plugins.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** smarty_plugins.php 3 Oct 2002 03:47:58 -0000 1.8 --- smarty_plugins.php 3 Oct 2002 03:48:57 -0000 1.9 *************** *** 317,339 **** echo $fend; } - - function list_dir($file_name_convention) - { - switch ($file_name_convention) { - case 'dated_reports': - //matches files like '5_23_2002.html' - $this_regexp = "/[0-9]{1,}_[0-9]{1,}_[0-9]{4,}/"; - break; - //add more cases of file name conventions - } - $this_dir = dir('.'); - if ($this_regexp != null) { - while ($file = $this_dir->read()) { - if (preg_match($this_regexp, $file)) { - $result_array[] = $file; - } - } - } - return $result_array; - } ?> --- 317,319 ----
View Statistics - Next Notice - Previous Notice
Visit Developer Site - Browse CVS Repository |
Syndicate via backend.rss (max. once per hour please) | Powered by CVSNotice 0.1.3 |