* Description: The TicTacToe game application
* Version: 1.0
* Author: Mike Macgirvin <http://macgirvin.com/profile/mike>
+ * Status: unsupported
*/
use Friendica\App;
Hook::register('app_menu', 'addon/tictac/tictac.php', 'tictac_app_menu');
}
-function tictac_app_menu(App $a, array &$b)
+function tictac_app_menu(array &$b)
{
$b['app_menu'][] = '<div class="app-title"><a href="tictac">' . DI::l10n()->t('Three Dimensional Tic-Tac-Toe') . '</a></div>';
}
-function tictac_module()
-{
- return;
-}
+/**
+ * This is a statement rather than an actual function definition. The simple
+ * existence of this method is checked to figure out if the addon offers a
+ * module.
+ */
+function tictac_module() {}
-function tictac_content(App $a) {
+function tictac_content() {
$o = '';