[fortunate] Mark addon as unsupported

pull/633/head
Hypolite Petovan 2018-07-10 08:47:57 -04:00
parent f47e6cbc24
commit 7ee6c3a20c
1 changed files with 2 additions and 1 deletions

View File

@ -4,6 +4,7 @@
* Description: Add a random fortune cookie at the bottom of every pages. [Requires manual confguration.] * Description: Add a random fortune cookie at the bottom of every pages. [Requires manual confguration.]
* Version: 1.0 * Version: 1.0
* Author: Mike Macgirvin <http://macgirvin.com/profile/mike> * Author: Mike Macgirvin <http://macgirvin.com/profile/mike>
* Status: Unsupported
*/ */
use Friendica\Core\Addon; use Friendica\Core\Addon;
use Friendica\Util\Network; use Friendica\Util\Network;
@ -28,7 +29,7 @@ function fortunate_uninstall()
function fortunate_fetch(&$a, &$b) function fortunate_fetch(&$a, &$b)
{ {
$a->page['htmlhead'] .= '<link rel="stylesheet" type="text/css" href="' $a->page['htmlhead'] .= '<link rel="stylesheet" type="text/css" href="'
. $a->get_baseurl() . '/addon/fortunate/fortunate.css' . '" media="all" />' . "\r\n"; . $a->get_baseurl() . '/addon/fortunate/fortunate.css' . '" media="all" />' . "\r\n";
if (FORTUNATE_SERVER != 'hostname.com') { if (FORTUNATE_SERVER != 'hostname.com') {