Update thread.php

rename getAllThreads to getAll in L27