track core autoupdates in system activities #1786

Closed
opened 2026-10-05 00:56:39 +02:00 by adam · 0 comments
Owner

When you perform a conscious update (with administration user interface) from Piwigo 13.7.0 to 13.8.0 an activity is registered:

pwg_activity(
  'system',
  ACTIVITY_SYSTEM_CORE,
  'update',
  array('from_version'=>PHPWG_VERSION, 'to_version'=>$upgrade_to)
);

Unfortunately, if you perform a manual update (by overwriting files on the server), Piwigo won't register the date of the update. Let's mark it as an autoupdate (just like we have for plugins).

When you perform a conscious update (with administration user interface) from Piwigo 13.7.0 to 13.8.0 an activity is registered: ``` pwg_activity( 'system', ACTIVITY_SYSTEM_CORE, 'update', array('from_version'=>PHPWG_VERSION, 'to_version'=>$upgrade_to) ); ``` Unfortunately, if you perform a manual update (by overwriting files on the server), Piwigo won't register the date of the update. Let's mark it as an `autoupdate` (just like we have for plugins). <!-- github-sync-id:2030427049 -->
adam closed this issue 2026-10-05 00:56:39 +02:00
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#1786