# css-javascript-toolbox/6.0.6/models/uninstall.php

CSS &amp; JavaScript Toolbox, version 6.0.6. 44 lines.

- Page: https://pluginprobe.com/plugins/css-javascript-toolbox/6.0.6/code/models/uninstall.php
- Raw: https://pluginprobe.com/plugins/css-javascript-toolbox/6.0.6/raw/models/uninstall.php
- Modified: 2013-03-17T20:09:52+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/css-javascript-toolbox/6.0.6/code/models/uninstall.php#L10-L20`.

```php
<?php
/**
* 
*/

// Disallow direct access.
defined('ABSPATH') or die("Access denied");

/**
* Provide uninstall functnios
* required for cleaning up the installation
* process!
* 
* @author CJT-Team
*/
class CJTUninstallModel {
	
	/**
	* put your comment there...
	* 
	*/
	public function database() {
		// Import dependencies.
		cssJsToolbox::import('framework:installer:dbfile.class.php');
		// Load Uninstallation SQL Statements!
		CJTDBFileInstaller::getInstance(cssJsToolbox::resolvePath('models:uninstall:db:mysql:uninstall.sql'))
		// Execute All,
		->exec();
		// Chaining!
		return $this;
	}
	
	/**
	* put your comment there...
	* 
	*/
	public function expressUninstall() {
		// Clean up database
		$this->database();
		// Chaining!
		return $this;
	}
	
} // End class.
```
