Skip to content

Instantly share code, notes, and snippets.

View bcmiller's full-sized avatar

Bill C. Miller bcmiller

  • emortgagelogic.om
  • arlington, tx
View GitHub Profile
root@ubuntu:/mnt/apci/main/www# drush up -n |grep -v "Up to"
Refreshing update status information ...
Done.
Update information last refreshed: Tue, 06/22/2010 - 11:03am
Update status information on all installed and enabled Drupal projects:
Name Installed Proposed Status
version version
Activity 6.x-1.2 6.x-2.x-dev Installed
version not
+<<<<<<< boxes.install
+
+function boxes_update_6103() {
+ $ret = array();
+ if (module_exists('spaces')) {
+ $result = db_query("SELECT * FROM {spaces_overrides} WHERE object_type = 'boxes'");
+ while ($row = db_fetch_object($result)) {
+ $v = unserialize($row->value);
+ $row->value = (object)$v;
+ drupal_write_record('spaces_overrides', $row, array('type', 'id', 'object_type', 'object_id'));
diff -u -p -r1.4 force_password_change.module
--- force_password_change.module 3 Feb 2010 02:19:23 -0000 1.4
+++ force_password_change.module 22 Jun 2010 19:36:53 -0000
@@ -5,6 +5,7 @@ function force_password_change_perm()
return array
(
'Administer force password change',
+ 'force password change',
);
}
root@ubuntu:/mnt/apci/main/www/sites/all/modules/contrib/feeds# drush -n up |grep -v "Up to"
Refreshing update status information ...
Done.
Update information last refreshed: Wed, 06/23/2010 - 11:09am
Update status information on all installed and enabled Drupal projects:
Name Installed Proposed Status
version version
Activity 6.x-1.2 6.x-2.x-dev Installed
version not
Jun 24 15:46:59 mercury drupal: http://mercury.allplayers.com|1277412419|devel|99.61.131.124|http://mercury.allplayers.com/user/9825/mobile|http://mercury.allplayers.com/user/9825/mobile|9825||Mail sent:Id: sms_email_gateway_smsTo: [email protected]: [email protected]: enSubject: Body: allplayers.com confirmation code: 3501Additional headers: MIME-Version: 1.0Content-Type: text/plain; charset=UTF-8; format=flowed; delsp=yesContent-Transfer-Encoding: 8BitX-Mailer: PressflowErrors-To: [email protected]: [email protected]: [email protected]: [email protected]
nid => 111976
type => page
language => en
uid => 1
status => 1
created => 1279224328
changed => 1279224328
comment => 2
promote => 0
moderate => 0
.
update node set type='apcipage' where nid in (select substring(src,6) from url_alias where dst in ('about-us','careers','company-history','contact-us','core-values') and src like 'node/%')
SELECT COUNT(*) FROM (SELECT DISTINCT(node.nid) AS nid, node.title AS node_title, node_data_field_date.field_date_value AS node_data_field_date_field_date_value, node_data_field_date.field_date_value2 AS node_data_field_date_field_date_value2, node_data_field_date.field_date_rrule AS node_data_field_date_field_date_rrule, node_data_field_date.delta AS node_data_field_date_delta, node.type AS node_type, node.vid AS node_vid, node_og_ancestry.title AS node_og_ancestry_title, node_og_ancestry.nid AS node_og_ancestry_nid, term_data.name AS term_data_name, term_data.vid AS term_data_vid, term_data.tid AS term_data_tid FROM node node LEFT JOIN content_field_date node_data_field_date ON node.vid = node_data_field_date.vid LEFT JOIN og_ancestry og_ancestry ON node.nid = og_ancestry.nid INNER JOIN node node_og_ancestry ON og_ancestry.group_nid = node_og_ancestry.nid LEFT JOIN term_node term_node ON node.vid = term_node.vid LEFT JOIN term_data term_data ON term_node.tid = term_data.tid INNER JOIN node_access na ON na.n
SELECT COUNT(*) FROM (SELECT DISTINCT(node.nid) AS nid, node.title AS node_title, node_data_field_date.field_date_value AS node_data_field_date_field_date_value, node_data_field_date.field_date_value2 AS node_data_field_date_field_date_value2, node_data_field_date.field_date_rrule AS node_data_field_date_field_date_rrule, node_data_field_date.delta AS node_data_field_date_delta, node.type AS node_type, node.vid AS node_vid, node_og_ancestry.title AS node_og_ancestry_title, node_og_ancestry.nid AS node_og_ancestry_nid, term_data.name AS term_data_name, term_data.vid AS term_data_vid, term_data.tid AS term_data_tid FROM node node LEFT JOIN content_field_date node_data_field_date ON node.vid = node_data_field_date.vid LEFT JOIN og_ancestry og_ancestry ON node.nid = og_ancestry.nid INNER JOIN node node_og_ancestry ON og_ancestry.group_nid = node_og_ancestry.nid LEFT JOIN term_node term_node ON node.vid = term_node.vid LEFT JOIN term_data term_data ON term_node.tid = term_data.tid INNER JOIN node_access na ON na.n
SELECT COUNT(*) FROM (SELECT DISTINCT(node.nid) AS nid, node.title AS node_title, node_data_field_date.field_date_value AS node_data_field_date_field_date_value, node_data_field_date.field_date_value2 AS node_data_field_date_field_date_value2, node_data_field_date.field_date_rrule AS node_data_field_date_field_date_rrule, node_data_field_date.delta AS node_data_field_date_delta, node.type AS node_type, node.vid AS node_vid, node_og_ancestry.title AS node_og_ancestry_title, node_og_ancestry.nid AS node_og_ancestry_nid, term_data.name AS term_data_name, term_data.vid AS term_data_vid, term_data.tid AS term_data_tid FROM node node LEFT JOIN content_field_date node_data_field_date ON node.vid = node_data_field_date.vid LEFT JOIN og_ancestry og_ancestry ON node.nid = og_ancestry.nid INNER JOIN node node_og_ancestry ON og_ancestry.group_nid = node_og_ancestry.nid LEFT JOIN term_node term_node ON node.vid = term_node.vid LEFT JOIN term_data term_data ON term_node.tid = term_data.tid INNER JOIN node_access na ON na.n