-
Notifications
You must be signed in to change notification settings - Fork 241
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[EZP-28180] Adding function "create" to simplify the creation of a ezsitedata entry #1273
Conversation
+1 We've been using the ezsite_data table more as convenient and simple persistent storage. |
+1 |
Issue? |
kernel/classes/ezsitedata.php
Outdated
'class_name' => 'eZSiteData', | ||
'name' => 'ezsite_data', | ||
'function_attributes' => array() | ||
return array( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
any actual need to change this? seems to be formatting only.
kernel/classes/ezsitedata.php
Outdated
/** | ||
* Fetches a site data by name | ||
* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wrong indentation
Feedback implemented. |
Most changes are due to code reformatting. I added a new function "create" to simplify the creation process.
The function has a new unit test.