mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 17:23:04 +02:00
issue #552
* many more admin actions are logged into activity table * use the activity.details as an associative array (serialized in database)
This commit is contained in:
@@ -277,6 +277,8 @@ DELETE
|
||||
array('primary' => array('id'), 'update' => array('author')),
|
||||
$datas
|
||||
);
|
||||
|
||||
pwg_activity('photo', $collection, 'edit', array('action'=>'author'));
|
||||
}
|
||||
|
||||
// title
|
||||
@@ -301,6 +303,8 @@ DELETE
|
||||
array('primary' => array('id'), 'update' => array('name')),
|
||||
$datas
|
||||
);
|
||||
|
||||
pwg_activity('photo', $collection, 'edit', array('action'=>'title'));
|
||||
}
|
||||
|
||||
// date_creation
|
||||
@@ -329,6 +333,8 @@ DELETE
|
||||
array('primary' => array('id'), 'update' => array('date_creation')),
|
||||
$datas
|
||||
);
|
||||
|
||||
pwg_activity('photo', $collection, 'edit', array('action'=>'date_creation'));
|
||||
}
|
||||
|
||||
// privacy_level
|
||||
@@ -349,6 +355,8 @@ DELETE
|
||||
$datas
|
||||
);
|
||||
|
||||
pwg_activity('photo', $collection, 'edit', array('action'=>'privacy_level'));
|
||||
|
||||
if (isset($_SESSION['bulk_manager_filter']['level']))
|
||||
{
|
||||
if ($_POST['level'] < $_SESSION['bulk_manager_filter']['level'])
|
||||
|
||||
Reference in New Issue
Block a user