Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use query builder in JUpdater->findUpdates() #2787

Closed
wants to merge 3 commits into from

Conversation

Bakual
Copy link
Contributor

@Bakual Bakual commented Jan 13, 2014

Testing instructions

Make sure that Joomla updates and extensions updates are found after the patch is applied.

Proposed Changes

  • Change the $query to use the querybuilder.
  • Use an inner join instead of a subselect
  • Do a proper filter if $eid is passed as a single integer. Currently it is expected as an array of integers and will do no filtering at all if a single integer is passed instead of an array. Instead it will search for updates in all sites, slowing down the process. We pass a single integer in some places, like in the Joomla Update component. Thus this should be a bit faster with this patch.

@Bakual
Copy link
Contributor Author

Bakual commented Jan 13, 2014

Thomas Hunziker added 3 commits May 12, 2014 14:56
Changing $query to use Joomla querybuilder
Also changing the subselect to a inner join and properly process the query if $eid is passed as a single integer
@b2z
Copy link
Member

b2z commented Jul 26, 2014

@test successfull
Tested on Joomla 3.3.3. - extensions updates are found
Tested on Joomla 3.3.1 - extensions and Joomla updates are found

@Kubik-Rubik
Copy link
Member

@test @Bakual Works as expected! Move to RTC.

@Bakual Bakual closed this in 52c4187 Jul 27, 2014
@Bakual Bakual deleted the UseQueryBuilderInJUpdater branch July 27, 2014 13:44
@zero-24 zero-24 removed the RTC This Pull Request is Ready To Commit label Oct 14, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants