mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-05-14 18:23:52 -04:00
Add database field attributes for entries (#4444)
* Add database field attributes for entries Just like we already have for categories, feeds, etc. No core use yet, but allows in particular extensions to save per-entry data * Fix PHPStand * Fix wrong variable
This commit is contained in:
committed by
GitHub
parent
2d807e06b1
commit
0866fdaee8
@@ -440,6 +440,7 @@ class FreshRSS_importExport_Controller extends FreshRSS_ActionController {
|
||||
}
|
||||
$newGuids[$entry->guid()] = true;
|
||||
|
||||
/** @var FreshRSS_Entry|null */
|
||||
$entry = Minz_ExtensionManager::callHook('entry_before_insert', $entry);
|
||||
if ($entry == null) {
|
||||
// An extension has returned a null value, there is nothing to insert.
|
||||
|
||||
Reference in New Issue
Block a user