Page MenuHomePhabricator

D10210.diff
No OneTemporary

D10210.diff

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

Mime Type
text/plain
Expires
Wed, Nov 13, 1:18 AM (1 d, 2 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6734032
Default Alt Text
D10210.diff (1 KB)

Event Timeline