diff options
Diffstat (limited to 'models')
| -rw-r--r-- | models/archivelist.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/models/archivelist.php b/models/archivelist.php index 779365e..bf734e0 100644 --- a/models/archivelist.php +++ b/models/archivelist.php @@ -41,4 +41,12 @@ class ArchiveList extends Table { 'Webpages.*' ); } + + function update(string $newName, string $newDescription) { + Table::_update( + 'ArchiveLists', + "Name = \"$newName\", Description = \"$newDescription\"", + "LID = \"$this->LID\"" + ); + } } |
