aboutsummaryrefslogtreecommitdiff
path: root/app/Models/EntryDAO.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2015-05-31 20:48:18 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2015-05-31 20:48:18 +0200
commit0d32f694dd63b27bd8b46a6c3b5dec10a42b0e24 (patch)
treeeb344a1929a01ac9f0ef5a339a83678c886d7a91 /app/Models/EntryDAO.php
parentee1178dba1292dc4a5f32287ac284c0ce6db01c5 (diff)
Minor comment 1.1.1
https://github.com/FreshRSS/FreshRSS/issues/845
Diffstat (limited to 'app/Models/EntryDAO.php')
-rw-r--r--app/Models/EntryDAO.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Models/EntryDAO.php b/app/Models/EntryDAO.php
index f939a0fb3..e5acc4a76 100644
--- a/app/Models/EntryDAO.php
+++ b/app/Models/EntryDAO.php
@@ -11,7 +11,7 @@ class FreshRSS_EntryDAO extends Minz_ModelPdo implements FreshRSS_Searchable {
$hasTransaction = false;
try {
$stm = null;
- if ($name === 'lastSeen') { //v1.2
+ if ($name === 'lastSeen') { //v1.1.1
if (!$this->bd->inTransaction()) {
$this->bd->beginTransaction();
$hasTransaction = true;
@@ -29,7 +29,7 @@ class FreshRSS_EntryDAO extends Minz_ModelPdo implements FreshRSS_Searchable {
if ($hasTransaction) {
$this->bd->rollBack();
}
- } elseif ($name === 'hash') { //v1.2
+ } elseif ($name === 'hash') { //v1.1.1
$stm = $this->bd->prepare('ALTER TABLE `' . $this->prefix . 'entry` ADD COLUMN hash BINARY(16)');
return $stm && $stm->execute();
}