Index: /mods/wpsg_mod_downloadplus.class.php
===================================================================
--- /mods/wpsg_mod_downloadplus.class.php	(revision 7826)
+++ /mods/wpsg_mod_downloadplus.class.php	(revision 7827)
@@ -20,6 +20,5 @@
 	     * Costructor
 	     */
-	    public function __construct()
-	    {
+	    public function __construct() {
 
 	        parent::__construct();
@@ -139,5 +138,23 @@
 				    ]);
 
-			    }
+				}
+
+				// In dem Zuge versuche ich alle Produkte mit Downloadfiles als Downloadprodukt zu markieren
+			    $arProductID = $this->db->fetchAssocField("SELECT `id` FROM `".WPSG_TBL_PRODUCTS."` ");
+
+	    		foreach ($arProductID as $product_id) {
+
+	    			$arFiles = $this->getFiles($product_id);
+
+	    			if (sizeof($arFiles) > 0) {
+
+						$oProduct = wpsg_product::getInstance($product_id);
+						$oProduct->setMeta('mod_downloadplus_set', "1");
+
+				    }
+
+				}
+
+				$this->shop->update_option('wpsg_mod_downloadplus_text', false);
 
 		    }
@@ -177,6 +194,5 @@
 	    } // function wpsg_enqueue_scripts()
 
-	    public function admin_emailconf()
-	    {
+	    public function admin_emailconf() {
 
 	        echo wpsg_drawEMailConfig(
