diff options
| author | Syndamia <kamen@syndamia.com> | 2025-02-01 10:02:14 +0200 |
|---|---|---|
| committer | Syndamia <kamen@syndamia.com> | 2025-02-01 10:28:22 +0200 |
| commit | faabc462d3080cac67687f450135a078731fb3d1 (patch) | |
| tree | b0d050b510386c3abcc48852bda16480b7c27e8e /views/profile/index.php | |
| parent | 5a0d4f4a00c9162fbf773ca6b73d34354c6650fe (diff) | |
| download | nowayforward_human-faabc462d3080cac67687f450135a078731fb3d1.tar nowayforward_human-faabc462d3080cac67687f450135a078731fb3d1.tar.gz nowayforward_human-faabc462d3080cac67687f450135a078731fb3d1.zip | |
feat: Rework models methods to be more object-oriented where applicable
Diffstat (limited to 'views/profile/index.php')
| -rw-r--r-- | views/profile/index.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/views/profile/index.php b/views/profile/index.php index dad2070..0a10e4a 100644 --- a/views/profile/index.php +++ b/views/profile/index.php @@ -18,7 +18,7 @@ <h2 onclick="openArchives()">Archives</h2> <h2 onclick="openLists()">Lists</h2> <section id="user-archives"> - <?php foreach (Database\Webpage::allArchivesByUser($user->UID) as $page): ?> + <?php foreach ($user->archives() as $page): ?> <section class="item"> <section> <div> @@ -51,7 +51,7 @@ </section> <section id="user-lists" hidden> - <?php foreach(Database\ArchiveList::allListsByUser($user->UID) as $list): ?> + <?php foreach($user->archiveLists() as $list): ?> <section> <?= $list->Name ?> <?= $list->Description ?> |
