Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14055152
D10210.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D10210.diff
View Options
diff --git a/src/infrastructure/storage/lisk/LiskDAO.php b/src/infrastructure/storage/lisk/LiskDAO.php
--- a/src/infrastructure/storage/lisk/LiskDAO.php
+++ b/src/infrastructure/storage/lisk/LiskDAO.php
@@ -855,7 +855,7 @@
*
* @task info
*/
- protected function getProperties() {
+ protected function getAllLiskProperties() {
static $properties = null;
if (!isset($properties)) {
$class = new ReflectionClass(get_class($this));
@@ -893,7 +893,7 @@
protected function checkProperty($property) {
static $properties = null;
if ($properties === null) {
- $properties = $this->getProperties();
+ $properties = $this->getAllLiskProperties();
}
$property = strtolower($property);
@@ -980,9 +980,9 @@
*
* @task info
*/
- protected function getPropertyValues() {
+ protected function getAllLiskPropertyValues() {
$map = array();
- foreach ($this->getProperties() as $p) {
+ foreach ($this->getAllLiskProperties() as $p) {
// We may receive a warning here for properties we've implicitly added
// through configuration; squelch it.
$map[$p] = @$this->$p;
@@ -1070,7 +1070,7 @@
$this->isEphemeralCheck();
$this->willSaveObject();
- $data = $this->getPropertyValues();
+ $data = $this->getAllLiskPropertyValues();
$this->willWriteData($data);
$map = array();
@@ -1139,7 +1139,7 @@
*/
protected function insertRecordIntoDatabase($mode) {
$this->willSaveObject();
- $data = $this->getPropertyValues();
+ $data = $this->getAllLiskPropertyValues();
$conn = $this->establishConnection('w');
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 17, 8:48 AM (2 d, 7 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6734032
Default Alt Text
D10210.diff (1 KB)
Attached To
Mode
D10210: Rename Lisk internal getProperties() methods to avoid collisions
Attached
Detach File
Event Timeline
Log In to Comment