summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2026-05-18 09:27:24 +0100
committerLester Caine <lester@lsces.co.uk>2026-05-18 09:27:24 +0100
commitb5dcd70d18485812eb58e8e4e91bad1c2cc11e43 (patch)
treea18affc79ee0162d1655478ef4c0229c727ef3f5 /includes
parent1ee603f2af7630a79cd8ebd7149d5da85e02331b (diff)
downloadliberty-b5dcd70d18485812eb58e8e4e91bad1c2cc11e43.tar.gz
liberty-b5dcd70d18485812eb58e8e4e91bad1c2cc11e43.tar.bz2
liberty-b5dcd70d18485812eb58e8e4e91bad1c2cc11e43.zip
getLibertySql was never completed so roll back to the working getServicesSql functionality
Used by blogs to pass extra info to search package
Diffstat (limited to 'includes')
-rwxr-xr-xincludes/classes/LibertyContent.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/includes/classes/LibertyContent.php b/includes/classes/LibertyContent.php
index 984f99a..52fe1af 100755
--- a/includes/classes/LibertyContent.php
+++ b/includes/classes/LibertyContent.php
@@ -1150,8 +1150,7 @@ class LibertyContent extends LibertyBase implements BitCacheable {
* Set up SQL strings for services used by the object
* TODO: set this function deprecated and eventually nuke it
*/
- static protected function getServicesSql( $pServiceFunction, &$pSelectSql, &$pJoinSql, &$pWhereSql, &$pBindVars, $pObject = null, &$pParamHash = null ) {
- //deprecated( 'You package is calling the deprecated LibertyContent::getServicesSql() method. Please update your code to use LibertyContent::getLibertySql' );
+ public static function getServicesSql( $pServiceFunction, &$pSelectSql, &$pJoinSql, &$pWhereSql, &$pBindVars, $pObject = null, &$pParamHash = null ) {
global $gLibertySystem;
if( $loadFuncs = $gLibertySystem->getServiceValues( $pServiceFunction ) ) {
foreach( $loadFuncs as $func ) {