Version 4.6.0

This commit is contained in:
Neo committed 2025-12-19 05:55:31 -08:00
1 parent f79dcf067a
commit 517a5e1f70
2036 files changed
+110041 -26162

No files matched your search

+7 -3
View File
@@ -124,7 +124,7 @@ class _Hook extends \IPS\Patterns\ActiveRecord
static::writeDataFile();
/* Write application json file automatically */
/* Write hook json file automatically */
if( $hook->app )
{
\IPS\Application::load( $hook->app )->buildHooks();
@@ -148,11 +148,15 @@ class _Hook extends \IPS\Patterns\ActiveRecord
$hook = static::load( \IPS\Request::i()->hook );
$hook->delete();
/* Write application json file automatically */
/* Write hook json file automatically */
if( $hook->app )
{
\IPS\Application::load( $hook->app )->buildHooks();
}
else
{
\IPS\Plugin::load( $hook->plugin )->buildHooks();
}
\IPS\Output::i()->redirect( $url );
}
@@ -495,7 +499,7 @@ class _Hook extends \IPS\Patterns\ActiveRecord
if ( $values = $form->values() )
{
$template = \IPS\Request::i()->template;
/* Add */
$save = array(
'selector' => $values['plugin_theme_hook_selector'],