miniflux-legacy/models
Mathias Kresin c35dd27f01 remove all group from feeds before deleting
Main purpose is to prevent orphaned groups.

It's not possible to use the ON DELETE CASCADE trigger here, to remove
the group together with the last feed that is assigned to this group.

The ON DELETE CASCADE trigger will raise an foreign key violation error
in cases where the removed feed is not the last feed associated to a
group.

The purge_groups() call has been moved to the remove group functions,
since it's the only way to create an orphaned group.
2015-12-13 16:14:55 +01:00
..
.htaccess Add autoflush value 'immediately' and improve gitignore 2013-12-22 21:25:54 -05:00
auto_update.php remove unused namespace imports and functions 2015-04-23 23:37:33 +02:00
config.php Use function random_bytes() of PHP7 if available 2015-12-07 20:51:59 -05:00
database.php switch config table to key/value store 2015-01-28 05:26:36 +01:00
feed.php remove all group from feeds before deleting 2015-12-13 16:14:55 +01:00
group.php remove all group from feeds before deleting 2015-12-13 16:14:55 +01:00
item.php show the article author if possible 2015-12-09 20:35:04 +01:00
proxy.php Rename proxy functions 2015-05-17 13:33:13 -04:00
remember_me.php Remove some code duplication and fix some minor issues 2015-08-14 22:08:04 -04:00
schema.php Use files for favicons 2015-12-07 17:42:26 +01:00
service.php Add Instapaper support 2014-12-24 13:50:20 -05:00
user.php Include PicoFarad into Miniflux 2015-08-28 21:34:34 -04:00