Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
79ee24dd
Commit
79ee24dd
authored
Jan 08, 2016
by
Alex Pott
Browse files
Issue
#2644734
by znerol: Replace confusing comment in PagerSelectExtender::execute()
parent
d04f659f
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/lib/Drupal/Core/Database/Query/PagerSelectExtender.php
View file @
79ee24dd
...
...
@@ -64,10 +64,9 @@ public function __construct(SelectInterface $query, Connection $connection) {
* to it.
*/
public
function
execute
()
{
// Add convenience tag to mark that this is an extended query. We have to
// do this in the constructor to ensure that it is set before preExecute()
// gets called.
// By calling preExecute() here, we force it to preprocess the extender
// object rather than just the base query object. That means
// hook_query_alter() gets access to the extended object.
if
(
!
$this
->
preExecute
(
$this
))
{
return
NULL
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment