Skip to content

Commit

Permalink
fix bug installation
Browse files Browse the repository at this point in the history
  • Loading branch information
charleneauger committed Jan 9, 2019
1 parent 3e7a0ee commit d639f30
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 10 deletions.
9 changes: 4 additions & 5 deletions APACHE/Map.pm
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@

package Apache::Ocsinventory::Plugins::CrontabTasks::Map;

package Apache::Ocsinventory::Plugins::Crontabtasks::Map;

use strict;

use Apache::Ocsinventory::Map;

$DATA_MAP{crontabtasks} = {
Expand All @@ -25,4 +25,3 @@ $DATA_MAP{crontabtasks} = {
}
};
1;

1 change: 0 additions & 1 deletion APACHE/crontabtaks.conf

This file was deleted.

1 change: 1 addition & 0 deletions APACHE/crontabtasks.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PerlModule Apache::Ocsinventory::Plugins::Crontabtasks::Map
2 changes: 1 addition & 1 deletion infos.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"author" : ["Guillaume PROTET", "Valentin DEVILLE"],
"contributor" : ["Frank BOURDEAU"],
"supportedAgent" : ["Unix"],
"version" : "1.1",
"version" : "2.0",
"licence" : "GPLv2",
"description" : {
"fr" : "Remonte les crontab",
Expand Down
6 changes: 3 additions & 3 deletions install.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* This function is called on installation and is used to create database schema for the plugin
*/
function extension_install_crontabTasks()
function extension_install_crontabtasks()
{
$commonObject = new ExtensionCommon;

Expand All @@ -24,7 +24,7 @@ function extension_install_crontabTasks()
/**
* This function is called on removal and is used to destroy database schema for the plugin
*/
function extension_delete_crontabTasks()
function extension_delete_crontabtasks()
{
$commonObject = new ExtensionCommon;
$commonObject -> sqlQuery("DROP TABLE `crontabtasks`");
Expand All @@ -33,7 +33,7 @@ function extension_delete_crontabTasks()
/**
* This function is called on plugin upgrade
*/
function extension_upgrade_crontabTasks()
function extension_upgrade_crontabtasks()
{

}

0 comments on commit d639f30

Please sign in to comment.