statusnet.php 380 B

123456789101112131415161718192021
  1. <?php
  2. if (!defined('GNUSOCIAL')) { exit(1); }
  3. /**
  4. * Backwards compatible class for plugins for GNU social <1.2
  5. * and thus only have the class StatusNet defined.
  6. */
  7. class StatusNet
  8. {
  9. public static function getActivePlugins()
  10. {
  11. return GNUsocial::getActivePlugins();
  12. }
  13. public static function isHTTPS()
  14. {
  15. return GNUsocial::isHTTPS();
  16. }
  17. }