| Server IP : 54.36.91.62 / Your IP : 216.73.217.112 Web Server : Apache System : Linux webm013.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : coopiak ( 151928) PHP Version : 8.3.23 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/c/o/o/coopiak/amisdesseniors-fr/nice/libraries/CBLib/CB/Legacy/ |
Upload File : |
<?php
/**
* CBLib, Community Builder Library(TM)
* @version $Id: 6/20/14 12:55 AM $
* @copyright (C) 2004-2025 www.joomlapolis.com / Lightning MultiCom SA - and its licensors, all rights reserved
* @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU/GPL version 2
*/
use CBLib\Database\DatabaseUpgrade;
defined('CBLIB') or die();
/**
* CBSQLupgrader Class implementation
* CB SQL versioning / upgrading functions:
*
* @deprecated 2.0 This is the legacy class for backwards compatibility, use \CBLib\Database\DatabaseUpgrade instead.
* @see \CBLib\Database\DatabaseUpgrade
*/
class CBSQLupgrader extends DatabaseUpgrade
{
/**
* Records error with details (details here is SQL query)
* @deprecated 2.0 : use setError() instead
*
* @param string $error
* @param string $info
* @return void
*/
public function _setError( $error, $info = null )
{
$this->setError( $error, $info );
}
/**
* Records logs with details (details here are SQL queries ( ";\n"-separated )
* @deprecated 2.0 : use setLog() instead
*
* @param string $log
* @param string $info
* @param string $type 'ok': successful check, 'change': successful change
* @return void
*/
public function _setLog( $log, $info = null, $type = null )
{
$this->setLog( $log, $info, $type );
}
/**
* Sets modifying query and performs it, IF NOT in dry run mode.
* If in dry run mode, returns true
* @deprecated 2.0 : use ( $dryRun || $this->_db->query( $sql ) ) instead
*
* @param string $sql
* @return boolean
*/
public function _doQuery( $sql )
{
return $this->doQuery( $sql );
}
}