Browse Source

Reformatted the localcheck, removing a duplicate section i overlooked

Michael Honkoop 1 week ago
parent
commit
6c292328b2
1 changed files with 0 additions and 18 deletions
  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