Commit d936dbde authored by Your Name's avatar Your Name

No commit message

No commit message
parent 29acae49
......@@ -10,10 +10,10 @@
use Zotlabs\Extend\Hook;
function upgrade_info_load(){
Hook::register('construct_page', 'addon/adsence/adsence.php', 'adsence');
Hook::register('page_content_top', 'addon/adsence/adsence.php', 'adsence');
}
function upgrade_info_unload(){
Hook::unregister('construct_page', 'addon/adsence/adsence.php', 'adsence');
Hook::unregister('page_content_top', 'addon/adsence/adsence.php', 'adsence');
}
function adsence(&$b){
......
......@@ -10,11 +10,11 @@
use Zotlabs\Extend\Hook;
function upgrade_info_load(){
Hook::register('page_content_top', 'addon/upgrade_infojp/upgrade_infojp.php', 'upgrade_info_construct_page');
Hook::register('construct_page', 'addon/upgrade_infojp/upgrade_infojp.php', 'upgrade_info_construct_page');
}
function upgrade_info_unload(){
Hook::unregister('page_content_top', 'addon/upgrade_infojp/upgrade_infojp.php', 'upgrade_info_construct_page');
Hook::unregister('construct_page', 'addon/upgrade_infojp/upgrade_infojp.php', 'upgrade_info_construct_page');
}
function upgrade_info_construct_page(&$b){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment