Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
dc151c10
Commit
dc151c10
authored
May 22, 2012
by
Jennifer Hodgdon
Browse files
Issue
#1593696
by effulgentsia: Clean up @todo formatting
parent
3f7b5cf0
Changes
5
Hide whitespace changes
Inline
Side-by-side
core/lib/Drupal/Core/Database/Driver/mysql/Schema.php
View file @
dc151c10
...
...
@@ -510,8 +510,8 @@ public function tableExists($table) {
// the most likely reason is that it does not exist. That is dramatically
// faster than using information_schema.
// @link http://bugs.mysql.com/bug.php?id=19588
// @todo
:
This override should be removed once we require a version of MySQL
// that has that bug fixed.
// @todo This override should be removed once we require a version of MySQL
//
that has that bug fixed.
try
{
$this
->
connection
->
queryRange
(
"SELECT 1 FROM {"
.
$table
.
"}"
,
0
,
1
);
return
TRUE
;
...
...
@@ -527,8 +527,8 @@ public function fieldExists($table, $column) {
// fails, the most likely reason is that it does not exist. That is
// dramatically faster than using information_schema.
// @link http://bugs.mysql.com/bug.php?id=19588
// @todo
:
This override should be removed once we require a version of MySQL
// that has that bug fixed.
// @todo This override should be removed once we require a version of MySQL
//
that has that bug fixed.
try
{
$this
->
connection
->
queryRange
(
"SELECT
$column
FROM {"
.
$table
.
"}"
,
0
,
1
);
return
TRUE
;
...
...
core/lib/Drupal/Core/Database/Driver/sqlite/Install/Tasks.php
View file @
dc151c10
...
...
@@ -21,7 +21,7 @@ public function name() {
/**
* Minimum engine version.
*
* @todo
: c
onsider upping to 3.6.8 in Drupal 8 to get SAVEPOINT support.
* @todo
C
onsider upping to 3.6.8 in Drupal 8 to get SAVEPOINT support.
*/
public
function
minimumVersion
()
{
return
'3.3.7'
;
...
...
core/lib/Drupal/Core/StreamWrapper/LocalStream.php
View file @
dc151c10
...
...
@@ -44,7 +44,8 @@ abstract class LocalStream implements StreamWrapperInterface {
/**
* Gets the path that the wrapper is responsible for.
* @TODO: Review this method name in D8 per http://drupal.org/node/701358
*
* @todo Review this method name in D8 per http://drupal.org/node/701358.
*
* @return string
* String specifying the path.
...
...
core/lib/Drupal/Core/Updater/Updater.php
View file @
dc151c10
...
...
@@ -112,8 +112,8 @@ public static function findInfoFile($directory) {
/**
* Gets the name of the project directory (basename).
*
* @todo
:
It would be nice, if projects contained an info file which could
*
provide their canonical name.
* @todo It would be nice, if projects contained an info file which could
* provide their canonical name.
*
* @param string $directory
*
...
...
@@ -213,7 +213,7 @@ public function update(&$filetransfer, $overrides = array()) {
$this
->
makeWorldReadable
(
$filetransfer
,
$args
[
'install_dir'
]
.
'/'
.
$this
->
name
);
// Run the updates.
// @
TODO: d
ecide if we want to implement this.
// @
todo D
ecide if we want to implement this.
$this
->
postUpdate
();
// For now, just return a list of links of things to do.
...
...
@@ -252,7 +252,7 @@ public function install(&$filetransfer, $overrides = array()) {
$this
->
makeWorldReadable
(
$filetransfer
,
$args
[
'install_dir'
]
.
'/'
.
$this
->
name
);
// Potentially enable something?
// @
TODO: d
ecide if we want to implement this.
// @
todo D
ecide if we want to implement this.
$this
->
postInstall
();
// For now, just return a list of links of things to do.
return
$this
->
postInstallTasks
();
...
...
@@ -286,7 +286,7 @@ public function prepareInstallDirectory(&$filetransfer, $directory) {
}
catch
(
FileTransferException
$e
)
{
// Probably still not writable. Try to chmod and do it again.
// @todo
:
Make a new exception class so we can catch it differently.
// @todo Make a new exception class so we can catch it differently.
try
{
$old_perms
=
substr
(
sprintf
(
'%o'
,
fileperms
(
$parent_dir
)),
-
4
);
$filetransfer
->
chmod
(
$parent_dir
,
0755
);
...
...
core/lib/Drupal/Core/Updater/UpdaterInterface.php
View file @
dc151c10
...
...
@@ -45,7 +45,7 @@ public function getInstallDirectory();
/**
* Determines if the Updater can handle the project provided in $directory.
*
* @todo
:
Provide something more rational here, like a project spec file.
* @todo Provide something more rational here, like a project spec file.
*
* @param string $directory
*
...
...
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