Fails to execute install and upgrade SQL due to more than 25 extensions
Created by: jusfreeman
org.civicoop.pdfapi fails to execute install and upgrade SQL due to more than 25 extensions available in the CiviCRM directory.
PR uses CiviCRM API to check if CiviRules is installed without having to loop through all extensions and bypasses the default 25 results limit for CiviCRM API calls.
Code formatting included with change due to removal of loop.
Agileware Ref: CIVIRULES-2