Skip to content
Browse files

Removed function which is not being used anywhere

  • Loading branch information...
1 parent 00cdc75 commit 3d254c29d44b51b44c0e75996d6f5a442b170c21 @magicmonkey magicmonkey committed
Showing with 0 additions and 12 deletions.
  1. +0 −12 src/system/application/libraries/Timezone.php
View
12 src/system/application/libraries/Timezone.php
@@ -12,18 +12,6 @@ public function __construct() {
$this->CI=&get_instance();
}
- /**
- * Return the difference from UTC for my machine
- * @param $tz integer Timezone string
- */
- private function _getMyTimeDiff($tz=null) {
- if (!$tz) { $tz=date_default_timezone_get(); }
- $here = new DateTimeZone($tz);
- $there = new DateTimeZone('UTC');
- $offset = $here->getOffset(new DateTime("now", $here))-$there->getOffset(new DateTime("now", $there));
-
- return $offset;
- }
/**
* Find the local time at the event...
* @param $evt_offset integer Event's offset from UTC

0 comments on commit 3d254c2

Please sign in to comment.
Something went wrong with that request. Please try again.