Commit ebaafa6c5a1b127673c10ecf7f7086cc9921c8b4

Authored by kevin_fourie
1 parent 0e66e97b

Don't show Admin Version Notifier for OEM builds.

Committed By: Kevin
Reviewed By: Jalaloedien



git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/STABLE/trunk@6910 c91229c3-7414-0410-bfa2-8a42b809f60b
plugins/ktstandard/KTAdminVersionPlugin.php
1 1 <?php
2 2 /**
3   - * $Id:$
  3 + * $Id$
4 4 *
5 5 * The contents of this file are subject to the KnowledgeTree Public
6 6 * License Version 1.1.2 ("License"); You may not use this file except in
... ... @@ -85,7 +85,7 @@ class AdminVersionPlugin extends KTPlugin {
85 85 }
86 86  
87 87 function setup() {
88   - if (function_exists('curl_init') || (!OS_WINDOWS)) {
  88 + if (APP_NAME == "KnowledgeTree" && (function_exists('curl_init') || (!OS_WINDOWS))) {
89 89 $this->registerDashlet('AdminVersionDashlet', 'ktstandard.adminversion.dashlet', 'KTAdminVersionPlugin.php');
90 90 $this->registerPage('versions', 'AdminVersionPage');
91 91 }
... ...