Recent Topics

1 Jul 10, 2006 06:28    

if i add the following to my plugin

	/**
	 * Define some dependencies.
	 *
	 * @see Plugin::GetDependencies()
	 * @return array
	 */
	function GetDependencies()
	{
		return array(
				'requires' => array(
					'plugins' => array( array( 'common_plugin', '1' ) ), // at least version 1 of some_plugin
				),
			);
	}

It will only check for this dependency when the plugin is getting installed, not after it has been installed.

Which will be a problem for users updating the plugin that requires the dependency.

How should i go about fixing this? - In the version change should i register a dependency?


Form is loading...