Skip to content

Commit a61050a

Browse files
committed
b897ed8 rolled back
1 parent b897ed8 commit a61050a

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

main/DAOs/GenericDAO.class.php

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ abstract class GenericDAO extends Singleton implements BaseDAO
1818
{
1919
private $identityMap = array();
2020

21-
private $linkName = null;
21+
protected $linkName = null;
2222

2323
abstract public function getTable();
2424
abstract public function getObjectName();
@@ -73,7 +73,7 @@ public function completeObject(Identifiable $object)
7373
**/
7474
public function getLinkName()
7575
{
76-
return $this->getDefaultLinkName();
76+
return $this->linkName;
7777
}
7878

7979
public function getIdName()
@@ -361,11 +361,6 @@ public function registerWorkerUncacher(UncacherBase $uncacher)
361361
DBPool::getByDao($this)->registerUncacher($uncacher);
362362
}
363363

364-
final protected function getDefaultLinkName()
365-
{
366-
return $this->linkName;
367-
}
368-
369364
protected function inject(
370365
InsertOrUpdateQuery $query,
371366
Identifiable $object

0 commit comments

Comments
 (0)