We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 91bd6c5 commit 4877285Copy full SHA for 4877285
1 file changed
Snippets.php
@@ -54,6 +54,10 @@ public function hooks() {
54
55
public function init() {
56
require_once("Snippets.API.php");
57
+
58
+ if( plugin_needs_upgrade( $this ) ) {
59
+ require_once( dirname( __FILE__ ) . '/install_functions.php' );
60
+ }
61
}
62
63
/**
@@ -156,8 +160,6 @@ function() use ( $t_app, $t_plugin ) {
156
160
157
161
158
162
public function schema() {
159
- require_once('install.php');
-
163
return array(
164
# 2010-03-18
165
0 => array("CreateTableSQL", array(plugin_table("snippet"), "
0 commit comments