[Pkg-owncloud-commits] [php-sabre-vobject] 28/43: updated comment

David Prévot taffit at moszumanska.debian.org
Fri Oct 10 14:16:16 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository php-sabre-vobject.

commit 3b932d825ae96ad9530a9850b693626f11a343f4
Author: Dominik Tobschall <dominik at fruux.com>
Date:   Tue Sep 30 16:24:55 2014 +0200

    updated comment
---
 lib/TimeZoneUtil.php | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/lib/TimeZoneUtil.php b/lib/TimeZoneUtil.php
index 326e4d5..cb2d3a0 100644
--- a/lib/TimeZoneUtil.php
+++ b/lib/TimeZoneUtil.php
@@ -140,11 +140,8 @@ class TimeZoneUtil {
             // https://bugs.php.net/bug.php?id=67881
             //
             // That's why we're checking if we'll be able to successfull instantiate
-            // \DateTimeZone() before doing so. Otherwise we could simplify this to:
-            // try {
-            //     return new \DateTimeZone($tzid);
-            // } catch(\Exception $e) {
-            // }
+            // \DateTimeZone() before doing so. Otherwise we could simply instantiate
+            // and catch the exception.
             $tzIdentifiers = \DateTimeZone::listIdentifiers();
 
             try {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/php-sabre-vobject.git



More information about the Pkg-owncloud-commits mailing list