mirror of
https://github.com/Terranom674/Piwigo_Bratonien_Tools.git
synced 2026-09-19 14:04:34 +00:00
Restore stable watermark profile behavior
This commit is contained in:
@@ -128,7 +128,6 @@ function bratonien_tools_save_watermark_profile()
|
|||||||
mass_inserts($table, array_keys($data), array($data));
|
mass_inserts($table, array_keys($data), array($data));
|
||||||
}
|
}
|
||||||
|
|
||||||
bratonien_tools_clear_watermark_cache();
|
|
||||||
return array('message'=>'Wasserzeichenprofil gespeichert.');
|
return array('message'=>'Wasserzeichenprofil gespeichert.');
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -159,7 +158,6 @@ function bratonien_tools_delete_watermark_profile()
|
|||||||
}
|
}
|
||||||
|
|
||||||
pwg_query('DELETE FROM '.bratonien_tools_table('watermark_profiles').' WHERE id='.$id);
|
pwg_query('DELETE FROM '.bratonien_tools_table('watermark_profiles').' WHERE id='.$id);
|
||||||
bratonien_tools_clear_watermark_cache();
|
|
||||||
return array('message'=>'Wasserzeichenprofil geloescht.');
|
return array('message'=>'Wasserzeichenprofil geloescht.');
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -176,7 +174,6 @@ function bratonien_tools_duplicate_watermark_profile()
|
|||||||
$profile['name'] .= ' (Kopie)';
|
$profile['name'] .= ' (Kopie)';
|
||||||
$profile['created'] = date('Y-m-d H:i:s');
|
$profile['created'] = date('Y-m-d H:i:s');
|
||||||
mass_inserts(bratonien_tools_table('watermark_profiles'), array_keys($profile), array($profile));
|
mass_inserts(bratonien_tools_table('watermark_profiles'), array_keys($profile), array($profile));
|
||||||
bratonien_tools_clear_watermark_cache();
|
|
||||||
|
|
||||||
return array('message'=>'Wasserzeichenprofil dupliziert.');
|
return array('message'=>'Wasserzeichenprofil dupliziert.');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user