Skip to content

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
tsmr committed Nov 3, 2022
1 parent ff8de0f commit fcf3d2a
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
6 changes: 2 additions & 4 deletions hook.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ function plugin_ocsinventoryng_install() {
[['field' => 'entities_id',
'action_type' => 'assign',
'value' => 0]]);

//Notifications
addNotifications();
} else {

//UPDATE
Expand Down Expand Up @@ -546,9 +547,6 @@ function plugin_ocsinventoryng_install() {
}


//Notifications
addNotifications();

$cron = new CronTask();
if (!$cron->getFromDBbyName('PluginOcsinventoryngThread', 'CleanOldThreads')) {
CronTask::Register('PluginOcsinventoryngThread', 'CleanOldThreads', HOUR_TIMESTAMP,
Expand Down
2 changes: 1 addition & 1 deletion inc/teamviewer.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ static function showForSimpleForItem(Computer $comp, $withtemplate = '') {
*
* @return array
*/
static function generateLinkContents($link, CommonDBTM $item) {
public static function generateLinkContents($link, CommonDBTM $item, bool $safe_url = true) {

if (strstr($link, "[TWID]")) {
$link = str_replace("[TWID]", $item->fields['twid'], $link);
Expand Down
5 changes: 5 additions & 0 deletions ocsinventoryng.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@
<author>Walid Nouh</author>
</authors>
<versions>
<version>
<num>2.0.3</num>
<compatibility>~10.0</compatibility>
<download_url>https://github.com/pluginsGLPI/ocsinventoryng/releases/download/2.0.3/glpi-ocsinventoryng-2.0.3.tar.bz2</download_url>
</version>
<version>
<num>2.0.2</num>
<compatibility>~10.0</compatibility>
Expand Down
2 changes: 1 addition & 1 deletion setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
define("PLUGIN_OCSINVENTORYNG_STATE_FINISHED", 3);

define("PLUGIN_OCSINVENTORYNG_LOCKFILE", GLPI_LOCK_DIR . "/ocsinventoryng.lock");
define('PLUGIN_OCS_VERSION', '2.0.2');
define('PLUGIN_OCS_VERSION', '2.0.3');

if (!defined("PLUGIN_OCS_DIR")) {
define("PLUGIN_OCS_DIR", Plugin::getPhpDir("ocsinventoryng"));
Expand Down

0 comments on commit fcf3d2a

Please sign in to comment.