aboutsummaryrefslogtreecommitdiff
path: root/app/Models/EntryDAO.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-08-01 17:52:21 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-08-01 17:52:21 +0200
commit2859eff94de87523a94b5a6ed84eaa94844f3fe9 (patch)
tree0b4f55e4233a7036354efcbabe665e1d4bb9671f /app/Models/EntryDAO.php
parentfe18d12551f626c56257f825caf8f97a4a5461ce (diff)
MySQL UTF8MB4 minor details
Diffstat (limited to 'app/Models/EntryDAO.php')
-rw-r--r--app/Models/EntryDAO.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Models/EntryDAO.php b/app/Models/EntryDAO.php
index fa5d87b55..c9e6f9742 100644
--- a/app/Models/EntryDAO.php
+++ b/app/Models/EntryDAO.php
@@ -53,11 +53,11 @@ class FreshRSS_EntryDAO extends Minz_ModelPdo implements FreshRSS_Searchable {
return false;
}
$this->triedUpdateToUtf8mb4 = true;
- Minz_Log::warning('Updating MySQL to UTF8MB4...');
$db = FreshRSS_Context::$system_conf->db;
if ($db['type'] === 'mysql') {
include_once(APP_PATH . '/SQL/install.sql.mysql.php');
if (defined('SQL_UPDATE_UTF8MB4')) {
+ Minz_Log::warning('Updating MySQL to UTF8MB4...');
$hadTransaction = $this->bd->inTransaction();
if ($hadTransaction) {
$this->bd->commit();