mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-10-30 21:52:00 +01: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:
1 parent
447e7e729f
commit
940d1d2e8c
18 files changed
+176
-29
No files matched your search
@@ -320,6 +320,9 @@ SELECT id_uppercat, MAX(rank)+1 AS next_rank
|
||||
$category_up[] = $category['id_uppercat'];
|
||||
}
|
||||
}
|
||||
|
||||
pwg_activity('album', $category_ids, 'add', array('sync'=>true));
|
||||
|
||||
$category_up=implode(',',array_unique($category_up));
|
||||
if ($conf['inheritance_by_default'])
|
||||
{
|
||||
@@ -676,6 +679,8 @@ SELECT *
|
||||
$insert_links
|
||||
);
|
||||
|
||||
pwg_activity('photo', $caddiables, 'add', array('sync'=>true));
|
||||
|
||||
// add new photos to caddie
|
||||
if (isset($_POST['add_to_caddie']) and $_POST['add_to_caddie'] == 1)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user