Update class.transladb.php

Fixed the scope