Browse Source

System update (installation)

markseu 8 years ago
parent
commit
c5a1f4e5ab

+ 0 - 0
system/plugins/update-blog.zip.installation → system/plugins/update-blog.installation


+ 0 - 0
system/plugins/update-wiki.zip.installation → system/plugins/update-wiki.installation


+ 2 - 4
system/plugins/update.php

@@ -328,7 +328,6 @@ class YellowUpdate
 				$this->yellow->page->error($statusCode, "Can't delete file '$entry'!");
 				$this->yellow->page->error($statusCode, "Can't delete file '$entry'!");
 			}
 			}
 		}
 		}
-		$statusCode = max($statusCode, $this->updateSoftwareNotification("YellowUpdate"));
 		return $statusCode;
 		return $statusCode;
 	}
 	}
 
 
@@ -492,9 +491,8 @@ class YellowUpdate
 	{
 	{
 		$statusCode = 200;
 		$statusCode = 200;
 		$startupUpdate = $this->yellow->config->get("startupUpdate");
 		$startupUpdate = $this->yellow->config->get("startupUpdate");
-		if($startupUpdate=="none") $startupUpdate = "";
-		if(!empty($startupUpdate)) $startupUpdate .= ",";
-		$startupUpdate .= $software;
+		if($startupUpdate=="none") $startupUpdate = "YellowUpdate";
+		if($software!="YellowUpdate") $startupUpdate .= ",$software";
 		$fileNameConfig = $this->yellow->config->get("configDir").$this->yellow->config->get("configFile");
 		$fileNameConfig = $this->yellow->config->get("configDir").$this->yellow->config->get("configFile");
 		if(!$this->yellow->config->update($fileNameConfig, array("startupUpdate" => $startupUpdate)))
 		if(!$this->yellow->config->update($fileNameConfig, array("startupUpdate" => $startupUpdate)))
 		{
 		{