Revision: 217
http://sourceforge.net/p/beeframework/code/217
Author: m_plomer
Date: 2014-09-17 13:37:04 +0000 (Wed, 17 Sep 2014)
Log Message:
-----------
- fixed HashManager
Modified Paths:
--------------
branches/0.9-dev/framework/Bee/Utils/HashManager.php
Modified: branches/0.9-dev/framework/Bee/Utils/HashManager.php
===================================================================
--- branches/0.9-dev/framework/Bee/Utils/HashManager.php 2014-09-12 20:21:31 UTC (rev 216)
+++ branches/0.9-dev/framework/Bee/Utils/HashManager.php 2014-09-17 13:37:04 UTC (rev 217)
@@ -1,10 +1,27 @@
<?php
-
namespace Bee\Utils;
-
+/*
+ * Copyright 2008-2014 the original author or authors.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
use PDO;
use Exception;
+/**
+ * Class HashManager
+ * @package Bee\Utils
+ */
class HashManager {
/**
@@ -58,7 +75,7 @@
} catch (Exception $e) {
$hash = $this->createHash();
- if ($this->persistHash($this->createHash(), $id, $group)) {
+ if ($this->persistHash($hash, $id, $group)) {
return $hash;
}
return false;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|