Commit graph

14 commits

Author SHA1 Message Date
Hypolite Petovan 39c654da00 [various] Remove App dependency from hook functions 2023-01-13 21:16:09 -05:00
Roland Häder 02d4a560a1
Changes:
- added type-hint + intval() (@MrPetovan)
- also changed `if (!$foo == '')` to `if ($foo != '')`
- added some spaces for better readability
2022-06-24 23:35:20 +02:00
Roland Häder 3ab46781b1
Changes:
- if a <addon>_module() function is empty, it is more a statement and not a
  real function
2022-06-24 23:35:16 +02:00
Roland Häder 04df7f6e05
Changes:
- added more type-hints
- cleaned up some files (curly braces, spaces)
2022-06-23 07:17:00 +02:00
Roland Häder 28cdecea93
Changes:
- changed more double-quotes to single
- `include` is not a function
2022-06-23 05:53:10 +02:00
Roland Häder b9f330fa18
Changed:
- removed discouraged ?>
- changed double-quotes to single
2022-06-23 01:48:01 +02:00
Hypolite Petovan 203672cf27 [various] Remove redundant uninstall functions
- All hooks (current and obsolete) are removed automatically during addon uninstall
2020-07-27 08:30:41 -04:00
Hypolite Petovan c27b1cb66f Replace deprecated Addon::*registerHook by Hook::*register 2018-12-26 10:20:18 -05:00
Adam Magness 0afd633346 Addon class
plugin moved to Addon src class
2018-01-19 07:20:17 -05:00
Hypolite Petovan 27b60e003f Use short form array syntax everywhere 2018-01-15 08:15:33 -05:00
Tobias Diekershoff f8d9efe8c7 some files were executable, now they are not 2017-12-07 14:26:26 +01:00
friendica 391f57fa39 permission change 644 to 755 for addons 2012-01-21 15:19:22 -08:00
Friendika e1bb2b7cc7 app_menu changes 2011-09-28 04:30:48 -07:00
Friendika 056921b1e8 addon repository relocated 2011-09-25 01:56:03 -07:00