Project

General

Profile

Actions

Bug #15867

closed

Use of deprecated function in class.tslib_pibase.php

Added by Toralf Lenz over 18 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Communication
Target version:
-
Start date:
2006-03-21
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.0
PHP Version:
4
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

class.tslib_pibase.php v 1.28.2.1

function pi_list_query() in line 1114:
$query = $GLOBALS['TYPO3_DB']->SELECTquery (

function SELECTquery() is deprecated. Use function exec_SELECTquery().

(issue imported from #M2939)

Actions #1

Updated by Martin Kutschker over 18 years ago

Deprecation of SELECTquery() might be renounced. But this method does not work properly with DBAL shipped with TYPO3 4.0.0.

Actions #2

Updated by Ingo Renner over 17 years ago

as pi_list_query() has a switch $returnQueryArray to determine whether to return the complete SQL query or the query parts SELECT, FROM, WHERE, ...

we can't change it to use exec_SELECTquery as it then would execute the query immediately and return a ressource instead of returning any SQL

Do you agree, that we can close this issue because of this?!

Actions #3

Updated by Chris topher over 14 years ago

As a result of #21413 the whole function pi_list_query() will be removed in TYPO3 4.5 - and with it this call.

Actions

Also available in: Atom PDF