mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-09 18:08:49 +00:00
Addon class
plugin moved to Addon src class
This commit is contained in:
parent
e97235353f
commit
0afd633346
81 changed files with 567 additions and 566 deletions
|
@ -6,15 +6,15 @@
|
|||
* Author: Stephen Mahood <https://friends.mayfirst.org/profile/marxistvegan>
|
||||
* Author: Tobias Diekershoff <https://f.diekershoff.de/profile/tobias>
|
||||
*/
|
||||
|
||||
use Friendica\Core\Addon;
|
||||
use Friendica\Core\Config;
|
||||
|
||||
function webrtc_install() {
|
||||
register_hook('app_menu', 'addon/webrtc/webrtc.php', 'webrtc_app_menu');
|
||||
Addon::registerHook('app_menu', 'addon/webrtc/webrtc.php', 'webrtc_app_menu');
|
||||
}
|
||||
|
||||
function webrtc_uninstall() {
|
||||
unregister_hook('app_menu', 'addon/webrtc/webrtc.php', 'webrtc_app_menu');
|
||||
Addon::unregisterHook('app_menu', 'addon/webrtc/webrtc.php', 'webrtc_app_menu');
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue