do_install = true; } else { /** * We've got options on board! Let's see if those aren't current options */ if ( isset( $current['version'] ) && ( $current['version'] < PLUGIN_VERSION ) ) { $this->do_install = true; } } if ( ! $this->do_install ) { $this->data = $current; } } /** * This method will simply reload options */ public function reload_options() { $this->data = get_option( OPTION_NAME ); } } # EOF