]> git.mxchange.org Git - friendica-addons.git/commitdiff
[mahjongg] Remove mahjongg addon because Flash is no longer supported by the browsers
authorBalázs Úr <balazs@urbalazs.hu>
Tue, 23 Mar 2021 21:54:10 +0000 (22:54 +0100)
committerBalázs Úr <balazs@urbalazs.hu>
Tue, 23 Mar 2021 21:54:10 +0000 (22:54 +0100)
mahjongg/mahjongg.php [deleted file]
mahjongg/mahjongg.swf [deleted file]

diff --git a/mahjongg/mahjongg.php b/mahjongg/mahjongg.php
deleted file mode 100644 (file)
index 7bc0adc..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-<?php
-
-/**
- * Name: Mah Jongg
- * Description: Ancient Chinese puzzle game that never gets old.
- * Version: 1.0
- * Author: Holger Froese
- */
-use Friendica\Core\Hook;
-
-function mahjongg_install() {
-    Hook::register('app_menu', 'addon/mahjongg/mahjongg.php', 'mahjongg_app_menu');
-}
-
-function mahjongg_app_menu($a,&$b) {
-    $b['app_menu'][] = '<div class="app-title"><a href="mahjongg">Mahjongg</a></div>';
-}
-
-
-function mahjongg_module() {}
-
-function mahjongg_content(&$a) {
-
-$o .= <<< EOT
-<br><br>
-<p align="left">
-<embed src="addon/mahjongg/mahjongg.swf" quality="high" bgcolor="#FFFFFF" width="800" height="600" name="mahjongg" align="middle" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
-<br><br>
-<b>Simply locate the matching tiles and find a way to clear them from the board as quickly as possible.
-A timer at the top of the screen keeps track of how you are doing.</b><br>
-</p>
-EOT;
-
-return $o;
-}
diff --git a/mahjongg/mahjongg.swf b/mahjongg/mahjongg.swf
deleted file mode 100644 (file)
index 79f8c9e..0000000
Binary files a/mahjongg/mahjongg.swf and /dev/null differ