2013021000-1.9.0_dev-web_services_plugin-85a61b4884b9b9e3.php 306 B

12345678910111213141516
  1. <?php
  2. /**
  3. * Elgg 1.9.0-dev upgrade 2013021000
  4. * web_services_plugin
  5. *
  6. * Enables the web services plugin if web services are turned on
  7. */
  8. if (!get_config('disable_api')) {
  9. $plugin = elgg_get_plugin_from_id('web_services');
  10. if ($plugin) {
  11. $plugin->activate();
  12. $plugin->setPriority('first');
  13. }
  14. }