I don't believe that the litigants had any intention to ban the pledge of allegiance, only to remove the phrase "under God" which was added to the pledge during the Eisenhower administration.
_________________________
PS