Dotclear

source: plugins/prvcat/_install.php @ 2210

Revision 2210, 615 bytes checked in by arno, 14 years ago (diff)

import version 2.1 to svn repository

Line 
1<?php
2# -- BEGIN LICENSE BLOCK ----------------------------------
3#
4# Copyright (c) 2010 Arnaud Renevier
5# published under the modified BSD license.
6# -- END LICENSE BLOCK ------------------------------------
7if (!defined('DC_CONTEXT_ADMIN')) { return; }
8
9    $plugin_name = 'prvcat';
10    $m_version = $core->plugins->moduleInfo($plugin_name,'version');
11    $i_version = $core->getVersion($plugin_name);
12    if (version_compare($i_version,$m_version,'>=')) {
13        return;
14    }
15    $core->setVersion($plugin_name,$m_version);
16
17    $perms = new prvCatPermMgr($core->con, $core->prefix);
18    $perms->install();
19?>
Note: See TracBrowser for help on using the repository browser.

Sites map