Searched hist:ed00f27d283750104fb7f80bdad97cf3156c4d59 (Results 1 – 3 of 3) sorted by relevance
/plugin/structpublish/action/ |
H A D | cache.php | ed00f27d283750104fb7f80bdad97cf3156c4d59 Mon May 22 14:34:16 UTC 2023 Andreas Gohr <andi@splitbrain.org> register IS_PUBLISHED on our own database connection
Ideally the plugin shouldn't open it's own connection, but rely on the main struct connection. But since our helper inherits from the struct helper it is treated as a different class (not as the same as struct). So we need to ensure that our function is registered on the correct connection.
Why this has worked before is unclear. With the devel branch of the sqlite plugin it fails.
In the future this should be refactored correctly.
|
H A D | show.php | ed00f27d283750104fb7f80bdad97cf3156c4d59 Mon May 22 14:34:16 UTC 2023 Andreas Gohr <andi@splitbrain.org> register IS_PUBLISHED on our own database connection
Ideally the plugin shouldn't open it's own connection, but rely on the main struct connection. But since our helper inherits from the struct helper it is treated as a different class (not as the same as struct). So we need to ensure that our function is registered on the correct connection.
Why this has worked before is unclear. With the devel branch of the sqlite plugin it fails.
In the future this should be refactored correctly.
|
/plugin/structpublish/helper/ |
H A D | db.php | ed00f27d283750104fb7f80bdad97cf3156c4d59 Mon May 22 14:34:16 UTC 2023 Andreas Gohr <andi@splitbrain.org> register IS_PUBLISHED on our own database connection
Ideally the plugin shouldn't open it's own connection, but rely on the main struct connection. But since our helper inherits from the struct helper it is treated as a different class (not as the same as struct). So we need to ensure that our function is registered on the correct connection.
Why this has worked before is unclear. With the devel branch of the sqlite plugin it fails.
In the future this should be refactored correctly.
|