Changeset 11845
- Timestamp:
- Jul 27, 2011, 8:20:44 PM (13 years ago)
- Location:
- extensions/Extended_author
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Extended_author/TODO
r11819 r11845 1 1 === TODO === 2 2 - Everything that's todo in the copyrights plugin :P 3 - When assigning a default cpoyright to an author, update all 0's from that author in copyright_media4 3 5 4 === Bugs === -
extensions/Extended_author/main.inc.php
r11837 r11845 2 2 /* 3 3 Plugin Name: Extended_author 4 Version: 1.0 4 Version: 1.0.1 5 5 Description: Provide information about authors and default copyright (Copyrights plugin is nescessary). 6 6 Plugin URI: http://piwigo.org/ext/revision_add.php?eid=571 -
extensions/Extended_author/maintain.inc.php
r11819 r11845 86 86 ;'; 87 87 pwg_query($query); 88 89 // Remove the default copyright from the admin table 90 $query = ' 91 DELETE 92 FROM %s 93 WHERE cr_id = -1 94 ;', 95 COPYRIGHTS_ADMIN); 96 pwg_query($query); 97 98 // And remove all default copyrights from the media table 99 $query = ' 100 DELETE 101 FROM %s 102 WHERE cr_id = -1 103 ;', 104 COPYRIGHTS_MEDIA); 105 pwg_query($query); 88 106 } 89 107
Note: See TracChangeset
for help on using the changeset viewer.