2010-01-12 19:57:15 -08:00
|
|
|
<?php
|
|
|
|
|
2015-02-27 12:44:15 +01:00
|
|
|
if (!defined('GNUSOCIAL')) { exit(1); }
|
2010-01-12 19:57:15 -08:00
|
|
|
|
|
|
|
/**
|
2015-02-27 12:44:15 +01:00
|
|
|
* Backwards compatible class for plugins for GNU social <1.2
|
|
|
|
* and thus only have the class StatusNet defined.
|
2010-01-12 19:57:15 -08:00
|
|
|
*/
|
|
|
|
class StatusNet
|
|
|
|
{
|
2010-04-12 11:49:59 -07:00
|
|
|
public static function getActivePlugins()
|
|
|
|
{
|
2015-02-27 12:44:15 +01:00
|
|
|
return GNUsocial::getActivePlugins();
|
2010-02-08 11:06:03 -08:00
|
|
|
}
|
2010-10-14 00:16:23 -04:00
|
|
|
|
2015-02-27 12:44:15 +01:00
|
|
|
public static function isHTTPS()
|
2010-02-08 11:06:03 -08:00
|
|
|
{
|
2015-02-27 12:44:15 +01:00
|
|
|
return GNUsocial::isHTTPS();
|
2010-01-12 19:57:15 -08:00
|
|
|
}
|
|
|
|
}
|