supprimer constantes de modules inutiles

This commit is contained in:
Fred Tempez 2022-05-22 18:31:02 +02:00
parent 556a2f6c1a
commit de22004f48
7 changed files with 1 additions and 13 deletions

View File

@ -45,7 +45,7 @@ class common {
// Numéro de version // Numéro de version
const ZWII_UPDATE_URL = 'https://forge.chapril.org/ZwiiCMS-Team/update/raw/branch/master/'; const ZWII_UPDATE_URL = 'https://forge.chapril.org/ZwiiCMS-Team/update/raw/branch/master/';
const ZWII_VERSION = '11.4.02'; const ZWII_VERSION = '11.4.03';
const ZWII_UPDATE_CHANNEL = "v11"; const ZWII_UPDATE_CHANNEL = "v11";
public static $actions = []; public static $actions = [];

View File

@ -17,8 +17,6 @@ class blog extends common {
const VERSION = '5.2'; const VERSION = '5.2';
const REALNAME = 'Blog'; const REALNAME = 'Blog';
const DELETE = true;
const UPDATE = '0.0';
const DATADIRECTORY = ''; // Contenu localisé inclus par défaut (page.json et module.json) const DATADIRECTORY = ''; // Contenu localisé inclus par défaut (page.json et module.json)
const EDIT_OWNER = 'owner'; const EDIT_OWNER = 'owner';

View File

@ -18,8 +18,6 @@ class form extends common {
const VERSION = '2.11'; const VERSION = '2.11';
const REALNAME = 'Formulaire'; const REALNAME = 'Formulaire';
const DELETE = true;
const UPDATE = '0.0';
const DATADIRECTORY = ''; // Contenu localisé inclus par défaut (page.json et module.json) const DATADIRECTORY = ''; // Contenu localisé inclus par défaut (page.json et module.json)
public static $actions = [ public static $actions = [

View File

@ -19,8 +19,6 @@ class gallery extends common {
const VERSION = '3.5'; const VERSION = '3.5';
const REALNAME = 'Galerie'; const REALNAME = 'Galerie';
const DELETE = true;
const UPDATE = '0.0';
const DATADIRECTORY = self::DATA_DIR . 'gallery/'; const DATADIRECTORY = self::DATA_DIR . 'gallery/';
const SORT_ASC = 'SORT_ASC'; const SORT_ASC = 'SORT_ASC';

View File

@ -17,8 +17,6 @@ class news extends common {
const VERSION = '3.7'; const VERSION = '3.7';
const REALNAME = 'News'; const REALNAME = 'News';
const DELETE = true;
const UPDATE = '0.0';
const DATADIRECTORY = self::DATA_DIR . 'news/'; const DATADIRECTORY = self::DATA_DIR . 'news/';
public static $actions = [ public static $actions = [

View File

@ -17,8 +17,6 @@ class redirection extends common {
const VERSION = '1.5'; const VERSION = '1.5';
const REALNAME = 'Redirection'; const REALNAME = 'Redirection';
const DELETE = true;
const UPDATE = '0.0';
const DATADIRECTORY = ''; // Contenu localisé inclus par défaut (page.json et module.json) const DATADIRECTORY = ''; // Contenu localisé inclus par défaut (page.json et module.json)
public static $actions = [ public static $actions = [

View File

@ -21,8 +21,6 @@ class search extends common {
const VERSION = '2.4'; const VERSION = '2.4';
const REALNAME = 'Recherche'; const REALNAME = 'Recherche';
const DELETE = true;
const UPDATE = '0.0';
const DATADIRECTORY = self::DATA_DIR . 'search/'; const DATADIRECTORY = self::DATA_DIR . 'search/';
public static $actions = [ public static $actions = [