application/models/Media/Row.php 1 location
|
@@ 66-70 (lines=5) @@
|
| 63 |
|
$this->module = 'users'; |
| 64 |
|
} |
| 65 |
|
// set user ID |
| 66 |
|
if ($user = Auth::getIdentity()) { |
| 67 |
|
$this->userId = $user->id; |
| 68 |
|
} else { |
| 69 |
|
$this->userId = Users\Table::SYSTEM_USER; |
| 70 |
|
} |
| 71 |
|
|
| 72 |
|
// create preview |
| 73 |
|
// set full path |
application/models/Pages/Row.php 1 location
|
@@ 97-101 (lines=5) @@
|
| 94 |
|
$this->created = gmdate('Y-m-d H:i:s'); |
| 95 |
|
|
| 96 |
|
/* @var \Application\Users\Row $user */ |
| 97 |
|
if ($user = Auth::getIdentity()) { |
| 98 |
|
$this->userId = $user->id; |
| 99 |
|
} else { |
| 100 |
|
$this->userId = Users\Table::SYSTEM_USER; |
| 101 |
|
} |
| 102 |
|
} |
| 103 |
|
|
| 104 |
|
/** |