drop OC_Preferences::getUsers and getApps

proper version of #12268

cc @LukasReschke @PVince81 @icewind1991