summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2026-05-22 15:37:42 +0100
committerLester Caine <lester@lsces.co.uk>2026-05-22 15:37:42 +0100
commit6f15bf8dd60491d72f04750433ea8581f54270ab (patch)
treeef336e1c1204ddd62d150f39b01351079dc5ef6f /index.php
parentd4521ac7b20ae0edb9e6b823f481b70e7796425d (diff)
downloadcontact-6f15bf8dd60491d72f04750433ea8581f54270ab.tar.gz
contact-6f15bf8dd60491d72f04750433ea8581f54270ab.tar.bz2
contact-6f15bf8dd60491d72f04750433ea8581f54270ab.zip
Remove xref methods now in LibertyContent; update callers
Nine methods deleted from Contact (getContactGroupList, getContactSourceList, getXrefTypeList, getXrefFormatList, loadContentTypeList, loadXrefList, loadXref, storeXref, stepXref) — all now inherited from LibertyContent. Contact sets $mXrefTypeKey = 'contact_types' so loadXrefTypeList() continues to store under the key templates expect. load() updated to call loadXrefTypeList(). Page files updated: getContactGroupList → getXrefGroupList, getContactSourceList → getXrefSourceList. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'index.php')
-rwxr-xr-xindex.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index ceb7082..21ac8cc 100755
--- a/index.php
+++ b/index.php
@@ -34,6 +34,6 @@ if ($gContent->isCommentable()) {
include_once LIBERTY_PKG_PATH . 'comments_inc.php';
}
-$gContent->mInfo['type'] = $gContent->getContactGroupList();
+$gContent->mInfo['type'] = $gContent->getXrefGroupList();
$gBitSystem->setBrowserTitle("Contact List Item");
$gBitSystem->display( 'bitpackage:contact/show_contact.tpl', NULL, [ 'display_mode' => 'display' ]);