mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-22 06:43:40 +00:00
[fortunate] Mark addon as unsupported
This commit is contained in:
parent
f47e6cbc24
commit
7ee6c3a20c
1 changed files with 2 additions and 1 deletions
|
@ -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') {
|
||||||
|
|
Loading…
Reference in a new issue