Permalink
Browse files

Fixing conflict.

  • Loading branch information...
brandonsavage committed Dec 11, 2012
2 parents 4621948 + e845ebd commit bc3a498998899c5af964f71dfd255c517016c957
Showing with 2 additions and 0 deletions.
  1. +2 −0 cache/BugzillaCacheMysql.class.php
@@ -9,6 +9,7 @@ public function set($key, $value, $ttl = 300)
$master = $this->_getDatabase();
$key_c = $key;
$value_c = $value;
+
$date = wfTimestamp(TS_DB);
$now = time(); // Using time() because it's a PHP built-in.
$expires = $now + $ttl;
@@ -30,6 +31,7 @@ public function set($key, $value, $ttl = 300)
'fetched_at' => $date
),
'`key` = "' . $key_c . '"',
+
__METHOD__
);
}

0 comments on commit bc3a498

Please sign in to comment.