Commit 46952157fa2e829f1bc4e51ac87b844a5c52d2e6

Authored by Conrad Vermeulen
1 parent 2d1a3106

KTS-3433

"Background task should fetch latest version for Version Notifier and cache ."
Updated. Missed some testing code and fixed typo. 

Committed By: Conrad Vermeulen
Reviewed By: Megan Watson

git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@8604 c91229c3-7414-0410-bfa2-8a42b809f60b
plugins/ktstandard/AdminVersionPlugin/AdminVersionDashlet.php
@@ -48,7 +48,6 @@ class AdminVersionDashlet extends KTBaseDashlet { @@ -48,7 +48,6 @@ class AdminVersionDashlet extends KTBaseDashlet {
48 function is_active($oUser) 48 function is_active($oUser)
49 { 49 {
50 $this->version = AdminVersion::isNewVersionAvailable(); 50 $this->version = AdminVersion::isNewVersionAvailable();
51 - return true;  
52 if ($this->version === false) 51 if ($this->version === false)
53 { 52 {
54 return false; 53 return false;
plugins/ktstandard/AdminVersionPlugin/templates/dashlet.smarty
@@ -8,7 +8,7 @@ @@ -8,7 +8,7 @@
8 #AdminHeader { font-weight: bold; 8 #AdminHeader { font-weight: bold;
9 margin-left: 25px;} 9 margin-left: 25px;}
10 #AdminVersionBlock { 10 #AdminVersionBlock {
11 - background: url(./plugins/ktstandard/AdminVersionPlugin/templates/AdminVersionPlugin/computer_go.png) no-repeat scroll left; 11 + background: url(./plugins/ktstandard/AdminVersionPlugin/templates/computer_go.png) no-repeat scroll left;
12 font-weight: bold; 12 font-weight: bold;
13 padding-left:25px; 13 padding-left:25px;
14 background-position: top left; 14 background-position: top left;