Changeset 3872:39861f53bcc0 for inc/core/class.dc.auth.php
- Timestamp:
- 09/12/18 14:45:17 (7 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/core/class.dc.auth.php
r3731 r3872 375 375 * @return mixed 376 376 */ 377 public function sudo($f )377 public function sudo($f, ...$args) 378 378 { 379 379 if (!is_callable($f)) { 380 380 throw new Exception($f . ' function doest not exist'); 381 381 } 382 383 $args = func_get_args();384 array_shift($args);385 382 386 383 if ($this->user_admin) {
Note: See TracChangeset
for help on using the changeset viewer.