aboutsummaryrefslogtreecommitdiff
path: root/app/Controllers/entryController.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2018-10-25 22:43:13 +0200
committerGravatar GitHub <noreply@github.com> 2018-10-25 22:43:13 +0200
commit307e6995fec51d368beeada9e1b69c40c3e7d065 (patch)
tree6b957ef160882351af9c65c1d7e337e123c65110 /app/Controllers/entryController.php
parent3eae8bd3b7b5f82f71aef341e6bf519483903867 (diff)
MySQL GUID case sensitive (#2078)
* MySQL GUID case sensitive latin1_bin https://github.com/FreshRSS/FreshRSS/issues/2077 * Prepare update for existing bases * Perform DB update during actualize * Reduce frequency slightly * No optimize at the same time * Take advantage of the SQL modifications in 1.12 * Move higher up * Move to purge, which all users can manually call
Diffstat (limited to 'app/Controllers/entryController.php')
-rwxr-xr-xapp/Controllers/entryController.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/Controllers/entryController.php b/app/Controllers/entryController.php
index 21d51af34..78ddbf085 100755
--- a/app/Controllers/entryController.php
+++ b/app/Controllers/entryController.php
@@ -207,6 +207,10 @@ class FreshRSS_entry_Controller extends Minz_ActionController {
$feedDAO->updateCachedValues();
+ //Minor DB checks:
+ $databaseDAO = FreshRSS_Factory::createDatabaseDAO();
+ $databaseDAO->ensureCaseInsensitiveGuids(); //FreshRSS 1.12
+
invalidateHttpCache();
Minz_Request::good(_t('feedback.sub.purge_completed', $nb_total), array(
'c' => 'configure',