We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -337,7 +337,7 @@ discard block |
||
337 | 337 | } else { |
338 | 338 | |
339 | 339 | // Reindex document. |
340 | - $doc =& tx_dlf_document::getInstance($id); |
|
340 | + $doc = & tx_dlf_document::getInstance($id); |
|
341 | 341 | |
342 | 342 | if ($doc->ready) { |
343 | 343 | |
@@ -422,7 +422,7 @@ discard block |
||
422 | 422 | case 'undelete': |
423 | 423 | |
424 | 424 | // Reindex document. |
425 | - $doc =& tx_dlf_document::getInstance($id); |
|
425 | + $doc = & tx_dlf_document::getInstance($id); |
|
426 | 426 | |
427 | 427 | if ($doc->ready) { |
428 | 428 |
@@ -161,7 +161,7 @@ |
||
161 | 161 | if (!empty($this->piVars['id'])) { |
162 | 162 | |
163 | 163 | // Get instance of tx_dlf_document. |
164 | - $this->doc =& tx_dlf_document::getInstance($this->piVars['id']); |
|
164 | + $this->doc = & tx_dlf_document::getInstance($this->piVars['id']); |
|
165 | 165 | |
166 | 166 | if (!$this->doc->ready) { |
167 | 167 |
@@ -89,7 +89,7 @@ discard block |
||
89 | 89 | } |
90 | 90 | |
91 | 91 | // Get the document... |
92 | - $doc =& tx_dlf_document::getInstance($this->cli_args['-doc'][0], $this->cli_args['-pid'][0], TRUE); |
|
92 | + $doc = & tx_dlf_document::getInstance($this->cli_args['-doc'][0], $this->cli_args['-pid'][0], TRUE); |
|
93 | 93 | |
94 | 94 | if ($doc->ready) { |
95 | 95 | |
@@ -170,7 +170,7 @@ discard block |
||
170 | 170 | while ($resArray = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($result)) { |
171 | 171 | |
172 | 172 | // Get the document... |
173 | - $doc =& tx_dlf_document::getInstance($resArray['uid'], $this->cli_args['-pid'][0], TRUE); |
|
173 | + $doc = & tx_dlf_document::getInstance($resArray['uid'], $this->cli_args['-pid'][0], TRUE); |
|
174 | 174 | |
175 | 175 | if ($doc->ready) { |
176 | 176 |
@@ -132,7 +132,7 @@ |
||
132 | 132 | $pid = (!empty($this->conf['excludeOther']) ? intval($this->conf['pages']) : 0); |
133 | 133 | |
134 | 134 | // Get instance of tx_dlf_document. |
135 | - $this->doc =& tx_dlf_document::getInstance($this->piVars['id'], $pid); |
|
135 | + $this->doc = & tx_dlf_document::getInstance($this->piVars['id'], $pid); |
|
136 | 136 | |
137 | 137 | if (!$this->doc->ready) { |
138 | 138 |
@@ -1526,7 +1526,7 @@ |
||
1526 | 1526 | |
1527 | 1527 | if ($parentLocation != $this->location) { |
1528 | 1528 | |
1529 | - $parentDoc =& tx_dlf_document::getInstance($parentLocation, $pid); |
|
1529 | + $parentDoc = & tx_dlf_document::getInstance($parentLocation, $pid); |
|
1530 | 1530 | |
1531 | 1531 | if ($parentDoc->ready) { |
1532 | 1532 |
@@ -101,7 +101,7 @@ |
||
101 | 101 | // Handle multi-volume documents. |
102 | 102 | if ($doc->parentId) { |
103 | 103 | |
104 | - $parent =& tx_dlf_document::getInstance($doc->parentId, 0, TRUE); |
|
104 | + $parent = & tx_dlf_document::getInstance($doc->parentId, 0, TRUE); |
|
105 | 105 | |
106 | 106 | if ($parent->ready) { |
107 | 107 |
@@ -157,12 +157,12 @@ discard block |
||
157 | 157 | protected function indexLoop() { |
158 | 158 | |
159 | 159 | // Get document from list. |
160 | - list ($uid, ) = $this->list->remove(0); |
|
160 | + list ($uid,) = $this->list->remove(0); |
|
161 | 161 | |
162 | 162 | $this->list->save(); |
163 | 163 | |
164 | 164 | // Save document to database and index. |
165 | - $doc =& tx_dlf_document::getInstance($uid, 0, TRUE); |
|
165 | + $doc = & tx_dlf_document::getInstance($uid, 0, TRUE); |
|
166 | 166 | |
167 | 167 | if ($doc->ready) { |
168 | 168 | |
@@ -219,7 +219,7 @@ discard block |
||
219 | 219 | && \TYPO3\CMS\Core\Utility\GeneralUtility::isValidUrl($this->data['id'])) { |
220 | 220 | |
221 | 221 | // Save document to database and index. |
222 | - $doc =& tx_dlf_document::getInstance($this->data['id'], $this->id, TRUE); |
|
222 | + $doc = & tx_dlf_document::getInstance($this->data['id'], $this->id, TRUE); |
|
223 | 223 | |
224 | 224 | if ($doc->ready) { |
225 | 225 |