Skip to content

Commit 6d92dd6

Browse files
committed
Updated the name of the renamed methods in the other examples.
1 parent 0bbde0a commit 6d92dd6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cookbook/doctrine/file_uploads.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ Next, refactor the ``Document`` class to take advantage of these callbacks::
285285
*/
286286
public function removeUpload()
287287
{
288-
if ($file = $this->getFullPath()) {
288+
if ($file = $this->getAbsolutePath()) {
289289
unlink($file);
290290
}
291291
}
@@ -342,7 +342,7 @@ property, instead of the actual filename::
342342
*/
343343
public function removeUpload()
344344
{
345-
if ($file = $this->getFullPath()) {
345+
if ($file = $this->getAbsolutePath()) {
346346
unlink($file);
347347
}
348348
}

0 commit comments

Comments
 (0)