mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-10-15 03:06:59 +00:00
Merge branch '3.6-rc'
This commit is contained in:
commit
39dd3dffe0
733 changed files with 10943 additions and 8237 deletions
|
@ -6,18 +6,19 @@
|
|||
* Author: Michael Vogel <https://pirati.ca/profile/heluecht>
|
||||
*
|
||||
*/
|
||||
use Friendica\Core\Addon;
|
||||
use Friendica\Core\Cache;
|
||||
|
||||
require_once('include/cache.php');
|
||||
|
||||
|
||||
function googlemaps_install() {
|
||||
register_hook('render_location', 'addon/googlemaps/googlemaps.php', 'googlemaps_location');
|
||||
function googlemaps_install()
|
||||
{
|
||||
Addon::registerHook('render_location', 'addon/googlemaps/googlemaps.php', 'googlemaps_location');
|
||||
|
||||
logger("installed googlemaps");
|
||||
}
|
||||
|
||||
function googlemaps_uninstall() {
|
||||
unregister_hook('render_location', 'addon/googlemaps/googlemaps.php', 'googlemaps_location');
|
||||
function googlemaps_uninstall()
|
||||
{
|
||||
Addon::unregisterHook('render_location', 'addon/googlemaps/googlemaps.php', 'googlemaps_location');
|
||||
|
||||
logger("removed googlemaps");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue