[geeklog-cvs] geeklog: Make the (deprecated) setPercision method call setPreci...

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Thu May 21 03:58:31 EDT 2009


details:   http://project.geeklog.net/cgi-bin/hgweb.cgi/rev/9350f45a2fc9
changeset: 7040:9350f45a2fc9
user:      Dirk Haun <dirk at haun-online.de>
date:      Thu May 21 09:09:56 2009 +0200
description:
Make the (deprecated) setPercision method call setPrecision to avoid code duplication

diffstat:

 system/classes/timer.class.php |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r d960feb016ec -r 9350f45a2fc9 system/classes/timer.class.php
--- a/system/classes/timer.class.php	Mon May 18 11:13:14 2009 +0200
+++ b/system/classes/timer.class.php	Thu May 21 09:09:56 2009 +0200
@@ -109,7 +109,7 @@
     */
     function setPercision($num_dec_places)
     {
-        $this->_precision = $num_dec_places;
+        return setPrecision($num_dec_places);
     }
 
 



More information about the geeklog-cvs mailing list