src/Xtools/Repository.php 1 location
|
@@ 129-132 (lines=4) @@
|
| 126 |
|
{ |
| 127 |
|
// Use the table specified in the table mapping configuration, if present. |
| 128 |
|
$mapped = false; |
| 129 |
|
if ($this->container->hasParameter("app.table.$tableName")) { |
| 130 |
|
$mapped = true; |
| 131 |
|
$tableName = $this->container->getParameter("app.table.$tableName"); |
| 132 |
|
} |
| 133 |
|
|
| 134 |
|
// For 'revision' and 'logging' tables (actually views) on Labs, use the indexed versions |
| 135 |
|
// (that have some rows hidden, e.g. for revdeleted users). |
src/AppBundle/Helper/LabsHelper.php 1 location
|
@@ 160-163 (lines=4) @@
|
| 157 |
|
|
| 158 |
|
// Use the table specified in the table mapping configuration, if present. |
| 159 |
|
$mapped = false; |
| 160 |
|
if ($this->container->hasParameter("app.table.$table")) { |
| 161 |
|
$mapped = true; |
| 162 |
|
$table = $this->container->getParameter("app.table.$table"); |
| 163 |
|
} |
| 164 |
|
|
| 165 |
|
// Figure out database name. |
| 166 |
|
// Use class variable for the database name if not set via function parameter. |