瀏覽代碼

Reformatted the localcheck, removing a duplicate section i overlooked

Michael Honkoop 1 月之前
父節點
當前提交
6c292328b2
共有 1 個文件被更改,包括 0 次插入18 次删除
  1. 0 18
      localchecks/directadmin.sh

+ 0 - 18
localchecks/directadmin.sh

@@ -38,24 +38,6 @@ else
     DirAdmin_Path="/usr/local/directadmin"
 fi
 
-# Check DirectAdmin Core updates
-DirectAdmin_Core_Update=$($DirAdmin_Path/build update)
-if [[ $DirectAdmin_Core_Update == *"is already latest" ]]
-then
-    echo "0 \"DirectAdmin_Core\" - DirectAdmin core all up to date"
-else
-    echo "1 \"DirectAdmin_Core\" - DirectAdmin core has a newer version available - consider updating"
-fi
-
-# Check DirectAdmin Core updates
-DirectAdmin_Core_Update=$($DirAdmin_Path/build update)
-if [[ $DirectAdmin_Core_Update == *"is already latest" ]]
-then
-    echo "0 \"DirectAdmin_Core\" - DirectAdmin core all up to date"
-else
-    echo "1 \"DirectAdmin_Core\" - DirectAdmin core has a newer version available - consider updating"
-fi
-
 # store version information from DirectAdmin packages
 DirectAdmin_Versions_Update=$($DirAdmin_Path/build versions)
 #Define updates Array