Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Rotua Panjaitan
yii2
Commits
5f3be6c7
Commit
5f3be6c7
authored
Jan 08, 2014
by
Carsten Brandt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
default values for db\Connection username and password to null
fixes #1821
parent
f53f62c1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
CHANGELOG.md
framework/CHANGELOG.md
+1
-0
Connection.php
framework/yii/db/Connection.php
+4
-4
No files found.
framework/CHANGELOG.md
View file @
5f3be6c7
...
...
@@ -68,6 +68,7 @@ Yii Framework 2 Change Log
-
Chg #1647: Changed the default CSS class of error block to be
`error-block`
(qiangxue)
-
Chg #1796: Removed
`yii\base\Controller::getActionParams()`
(samdark)
-
Chg #1835:
`CheckboxColumn`
now renders checkboxes whose values are the corresponding data key values (qiangxue)
-
Chg #1821: Changed default values for yii
\d
b
\C
onnection username and password to null (cebe)
-
Chg: Renamed
`yii\jui\Widget::clientEventsMap`
to
`clientEventMap`
(qiangxue)
-
Chg: Renamed
`ActiveRecord::getPopulatedRelations()`
to
`getRelatedRecords()`
(qiangxue)
-
Chg: Renamed
`attributeName`
and
`className`
to
`targetAttribute`
and
`targetClass`
for
`UniqueValidator`
and
`ExistValidator`
(qiangxue)
...
...
framework/yii/db/Connection.php
View file @
5f3be6c7
...
...
@@ -118,13 +118,13 @@ class Connection extends Component
*/
public
$dsn
;
/**
* @var string the username for establishing DB connection. Defaults to
empty string
.
* @var string the username for establishing DB connection. Defaults to
`null` meaning no username to use
.
*/
public
$username
=
''
;
public
$username
;
/**
* @var string the password for establishing DB connection. Defaults to
empty string
.
* @var string the password for establishing DB connection. Defaults to
`null` meaning no password to use
.
*/
public
$password
=
''
;
public
$password
;
/**
* @var array PDO attributes (name => value) that should be set when calling [[open()]]
* to establish a DB connection. Please refer to the
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment